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

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/
hybi00.py 69 def _validate_subprotocol(subprotocol):
70 """Checks if characters in subprotocol are in range between U+0020 and
77 if not subprotocol:
78 raise HandshakeException('Invalid subprotocol name: empty')
81 for c in subprotocol:
84 'Illegal character in subprotocol name: %r' % c)
172 subprotocol = self._request.headers_in.get(
174 if subprotocol is not None:
175 _validate_subprotocol(subprotocol)
176 self._request.ws_protocol = subprotocol
    [all...]
_base.py 87 def validate_subprotocol(subprotocol):
93 if not subprotocol:
94 raise HandshakeException('Invalid subprotocol name: empty')
97 state = http_header_util.ParsingState(subprotocol)
100 # If |rest| is not None, |subprotocol| is not one token or invalid. If
101 # |rest| is None, |token| must not be None because |subprotocol| is
104 raise HandshakeException('Invalid non-token string in subprotocol '
hybi.py 268 'do_extra_handshake must choose one subprotocol from '
273 'Subprotocol accepted: %r',
279 'request any subprotocol')
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
_base.py 87 def validate_subprotocol(subprotocol, hixie):
88 """Validate a value in subprotocol fields such as WebSocket-Protocol,
97 if not subprotocol:
98 raise HandshakeException('Invalid subprotocol name: empty')
101 for c in subprotocol:
104 'Illegal character in subprotocol name: %r' % c)
107 state = http_header_util.ParsingState(subprotocol)
110 # If |rest| is not None, |subprotocol| is not one token or invalid. If
111 # |rest| is None, |token| must not be None because |subprotocol| is
114 raise HandshakeException('Invalid non-token string in subprotocol '
    [all...]
draft75.py 132 subprotocol = self._request.headers_in.get('WebSocket-Protocol')
133 if subprotocol is not None:
134 validate_subprotocol(subprotocol, hixie=True)
135 self._request.ws_protocol = subprotocol
hybi00.py 121 subprotocol = self._request.headers_in.get(
123 if subprotocol is not None:
124 validate_subprotocol(subprotocol, hixie=True)
125 self._request.ws_protocol = subprotocol
hybi.py 243 'do_extra_handshake must choose one subprotocol from '
248 'Subprotocol accepted: %r',
254 'request any subprotocol')
  /external/chromium_org/third_party/WebKit/public/web/
WebSocket.h 87 virtual WebString subprotocol() = 0;
  /external/chromium_org/third_party/WebKit/Source/web/
WebSocketImpl.cpp 87 WebString WebSocketImpl::subprotocol() function in class:WebKit::WebSocketImpl
89 return m_private->subprotocol();
WebSocketImpl.h 59 virtual WebString subprotocol() OVERRIDE;
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketChannel.h 79 virtual String subprotocol() = 0; // Will be available after didConnect() callback is invoked.
ThreadableWebSocketChannelClientWrapper.h 65 // Subprotocol and extensions will be available when didConnect() callback is invoked.
66 String subprotocol() const;
ThreadableWebSocketChannelClientWrapper.cpp 102 String ThreadableWebSocketChannelClientWrapper::subprotocol() const function in class:WebCore::ThreadableWebSocketChannelClientWrapper
109 void ThreadableWebSocketChannelClientWrapper::setSubprotocol(const String& subprotocol)
112 append(m_subprotocol, subprotocol);
MainThreadWebSocketChannel.h 74 virtual String subprotocol() OVERRIDE;
WorkerThreadableWebSocketChannel.cpp 92 String WorkerThreadableWebSocketChannel::subprotocol() function in class:WebCore::WorkerThreadableWebSocketChannel
95 return m_workerClientWrapper->subprotocol();
299 static void workerGlobalScopeDidConnect(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, const String& subprotocol, const String& extensions)
302 workerClientWrapper->setSubprotocol(subprotocol);
310 m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidConnect, m_workerClientWrapper, m_mainWebSocketChannel->subprotocol(), m_mainWebSocketChannel->extensions()), m_taskMode);
WorkerThreadableWebSocketChannel.h 67 virtual String subprotocol() OVERRIDE;
WebSocket.cpp 74 // Hybi-10 says "(Subprotocol string must consist of) characters in the range U+0021 to U+007E not including
523 m_subprotocol = m_channel->subprotocol();
MainThreadWebSocketChannel.cpp 121 String MainThreadWebSocketChannel::subprotocol() function in class:WebCore::MainThreadWebSocketChannel
123 LOG(Network, "MainThreadWebSocketChannel %p subprotocol()", this);
    [all...]
  /external/chromium_org/content/renderer/pepper/
pepper_websocket_host.cc 71 protocol = websocket_->subprotocol().utf8();
204 // WebSocket specification says "(Subprotocol string must consist of)

Completed in 345 milliseconds