HomeSort by relevance Sort by last modified time
    Searched refs:ws_protocol (Results 1 - 17 of 17) sorted by null

  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/sub/
exception_in_transfer_wsh.py 41 (request.ws_resource, request.ws_protocol))
no_wsh_at_the_end.py 42 (request.ws_resource, request.ws_protocol))
plain_wsh.py 37 (request.ws_resource, request.ws_protocol))
wrong_handshake_sig_wsh.py 42 (request.ws_resource, request.ws_protocol))
wrong_transfer_sig_wsh.py 42 (request.ws_resource, request.ws_protocol))
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
origin_check_wsh.py 41 (request.ws_resource, request.ws_protocol))
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/
origin_check_wsh.py 39 (request.ws_resource, request.ws_protocol))
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_handshake_draft75.py 408 self.assertEqual('sample', request.ws_protocol)
419 self.assertEqual('sample', request.ws_protocol)
428 self.assertEqual('sample', request.ws_protocol)
438 self.assertEqual('sample', request.ws_protocol)
447 self.assertEqual(None, request.ws_protocol)
test_handshake_hybi00.py 359 self.assertEqual('sample', request.ws_protocol)
378 self.assertEqual('sample', request.ws_protocol)
387 self.assertEqual('sample', request.ws_protocol)
397 self.assertEqual('sample', request.ws_protocol)
406 self.assertEqual(None, request.ws_protocol)
425 self.assertEqual('sample', request.ws_protocol)
test_dispatch.py 175 request.ws_protocol = 'p1'
183 request.ws_protocol = None
191 request.ws_protocol = None
199 request.ws_protocol = None
211 request.ws_protocol = 'p2'
224 request.ws_protocol = 'p3'
test_handshake_hybi08.py 86 of requested ones to ws_protocol where i is given on construction as index
87 argument. If index is negative, default_value will be set to ws_protocol.
96 conn_context.ws_protocol = conn_context.ws_requested_protocols[
99 conn_context.ws_protocol = self.default_value
158 self.assertEqual(None, request.ws_protocol)
215 self.assertEqual('chat', request.ws_protocol)
222 # No request has been made but ws_protocol is set. HandshakeException
232 # ws_protocol is not set. HandshakeException must be raised.
test_handshake_hybi.py 86 of requested ones to ws_protocol where i is given on construction as index
87 argument. If index is negative, default_value will be set to ws_protocol.
96 conn_context.ws_protocol = conn_context.ws_requested_protocols[
99 conn_context.ws_protocol = self.default_value
158 self.assertEqual(None, request.ws_protocol)
215 self.assertEqual('chat', request.ws_protocol)
222 # No request has been made but ws_protocol is set. HandshakeException
232 # ws_protocol is not set. HandshakeException must be raised.
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
draft75.py 103 ws_resource, ws_origin, ws_location, ws_protocol
135 self._request.ws_protocol = subprotocol
151 if self._request.ws_protocol:
153 'WebSocket-Protocol: %s\r\n' % self._request.ws_protocol)
hybi.py 241 if self._request.ws_protocol is None:
244 'ws_requested_protocols and set it to ws_protocol')
245 validate_subprotocol(self._request.ws_protocol, hixie=False)
249 self._request.ws_protocol)
251 if self._request.ws_protocol is not None:
253 'ws_protocol must be None when the client didn\'t '
292 self._request.ws_protocol = None
384 if self._request.ws_protocol is not None:
387 self._request.ws_protocol))
hybi00.py 92 ws_resource, ws_protocol, ws_location, ws_origin, ws_challenge,
125 self._request.ws_protocol = subprotocol
227 if self._request.ws_protocol:
230 self._request.ws_protocol))
  /external/chromium/chrome/browser/net/websocket_experiment/
websocket_experiment_task.h 83 std::string ws_protocol; member in class:chrome_browser_net_websocket_experiment::WebSocketExperimentTask::Config
websocket_experiment_task.cc 65 config.ws_protocol,
99 : ws_protocol("google-websocket-liveexperiment"),

Completed in 543 milliseconds