OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:websocket
(Results
51 - 75
of
137
) sorted by null
1
2
3
4
5
6
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/
setup.py
49
description='
WebSocket
extension for Apache HTTP Server.',
52
'
WebSocket
(http://tools.ietf.org/html/rfc6455). '
/external/chromium/chrome/browser/net/websocket_experiment/
websocket_experiment_runner.cc
17
#include "net/websockets/
websocket
.h"
21
static const char *kExperimentHost = "
websocket
-experiment.chromium.org";
111
task_config.protocol_version = net::
WebSocket
::DEFAULT_VERSION;
143
task_config.protocol_version = net::
WebSocket
::DRAFT75;
/external/chromium/net/websockets/
websocket_net_log_params.cc
32
// Dump
WebSocket
key3.
websocket_handshake_draft75.h
50
// Returns false otherwise (e.g. duplicate
WebSocket
-Origin: header, etc.)
websocket_throttle.h
21
// SocketStreamThrottle for
WebSocket
protocol.
websocket_throttle_unittest.cc
198
static const char kHeader[] = "HTTP/1.1 101
WebSocket
Protocol\r\n";
209
"Upgrade:
WebSocket
\r\n"
211
"Sec-
WebSocket
-Origin: http://www.google.com\r\n"
212
"Sec-
WebSocket
-Location: ws://
websocket
.chromium.org\r\n"
/external/chromium-trace/trace-viewer/examples/
stream_trace_viewer.html
57
streamer.connect(new
WebSocket
('ws://localhost:8001/stream'));
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
mux_client_for_testing.py
33
"""
WebSocket
client utility for testing mux extension.
373
"""
WebSocket
mux client.
546
fields.append('Upgrade:
websocket
\r\n')
557
fields.append('Sec-
WebSocket
-Key: %s\r\n' % key)
559
fields.append('Sec-
WebSocket
-Version: 13\r\n')
562
fields.append('Sec-
WebSocket
-Extensions: %s\r\n' %
600
if fields['upgrade'] != '
websocket
':
606
if not 'sec-
websocket
-accept' in fields:
607
raise Exception('No Sec-
WebSocket
-Accept header')
609
accept = fields['sec-
websocket
-accept'
[
all
...]
test_mux.py
212
'Upgrade': '
websocket
',
214
'Sec-
WebSocket
-Key': 'dGhlIHNhbXBsZSBub25jZQ==',
215
'Sec-
WebSocket
-Version': '13',
248
'Upgrade:
websocket
\r\n'
250
'Sec-
WebSocket
-Key: dGhlIHNhbXBsZSBub25jZQ==\r\n'
251
'Sec-
WebSocket
-Version: 13\r\n'
379
self.assertEqual('
websocket
', headers['Upgrade'])
382
headers['Sec-
WebSocket
-Key'])
383
self.assertEqual('13', headers['Sec-
WebSocket
-Version'])
485
'Sec-
WebSocket
-Key2: 12998 5 Y3 1 .P00\r\n
[
all
...]
/external/webkit/Source/WebCore/bindings/generic/
RuntimeEnabledFeatures.cpp
37
#include "
WebSocket
.h"
129
return
WebSocket
::isAvailable();
/external/chromium/net/socket_stream/
socket_stream_job.h
20
// If a protocol (e.g.
WebSocket
protocol) needs to inspect/modify data
/external/webkit/Source/WebKit/chromium/src/
WebRuntimeFeatures.cpp
37
#include "
WebSocket
.h"
110
WebSocket
::setIsAvailable(enable);
117
return
WebSocket
::isAvailable();
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
echo_client.py
33
"""Simple
WebSocket
client named echo_client just because of historical reason.
86
_UPGRADE_HEADER = 'Upgrade:
websocket
\r\n'
87
_UPGRADE_HEADER_HIXIE75 = 'Upgrade:
WebSocket
\r\n'
201
"""A base class for
WebSocket
opening handshake processors for each
283
"""
WebSocket
opening handshake processor for
484
# TODO(tyoshino): Handle Sec-
WebSocket
-Protocol
489
"""
WebSocket
opening handshake processor for
512
# 4.1 7. Add the string "Upgrade:
WebSocket
" to /fields/.
527
# TODO: 4.1 14 Add Sec-
WebSocket
-Protocol: field to /fields/.
530
# 4.1 16-23. Add Sec-
WebSocket
-Key<n> to /fields/
[
all
...]
/external/webkit/Source/WebCore/websockets/
WebSocketChannel.cpp
217
message = "
WebSocket
network error";
219
message = makeString("
WebSocket
network error: error code ", String::number(error.errorCode()));
221
message = makeString("
WebSocket
network error: ", error.localizedDescription());
240
LOG(Network, "
WebSocket
buffer overflow (%lu+%lu)", static_cast<unsigned long>(m_bufferSize), static_cast<unsigned long>(len));
253
m_context->addMessage(JSMessageSource, LogMessageType, ErrorMessageLevel, makeString("
WebSocket
frame (at ", String::number(static_cast<unsigned long>(newBufferSize)), " bytes) is too long."), 0, m_handshake.clientOrigin(), 0);
WebSocket.idl
42
]
WebSocket
{
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
hybi.py
31
"""This file provides the opening handshake processor for the
WebSocket
65
# Used to validate the value in the Sec-
WebSocket
-Key header strictly. RFC 4648
82
"""Computes value for the Sec-
WebSocket
-Accept header from value of the
83
Sec-
WebSocket
-Key header.
94
"""Opening handshake processor for the
WebSocket
protocol (RFC 6455)."""
322
'Failed to parse Sec-
WebSocket
-Extensions header: %r' % e)
__init__.py
31
"""
WebSocket
opening handshake processor. This class try to apply available
54
"""Performs
WebSocket
handshake.
/external/chromium-trace/trace-viewer/examples/stream_server/
standalone.py
33
"""Standalone
WebSocket
server.
50
<websock_handlers> is the path to the root directory of
WebSocket
handlers.
51
See __init__.py for details of <websock_handlers> and how to write
WebSocket
155
# 1024 is practically large enough to contain
WebSocket
handshake lines.
238
"""Don't use this method from
WebSocket
handler. Drains unread data
273
"""HTTPServer specialized for
WebSocket
."""
465
"""CGIHTTPRequestHandler specialized for
WebSocket
."""
519
# Variables set by this method will be also used by
WebSocket
request
723
help='
WebSocket
handlers root directory.')
728
help=('
WebSocket
handlers map file.
[
all
...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
headerparserhandler.py
34
function is called to handle
WebSocket
request.
103
# virtual host which will process
WebSocket
requests. The only server
111
# virtual host context which actually handles
WebSocket
connections,
msgutil.py
52
# An API for handler to send/receive
WebSocket
messages.
70
client in separate frames but as one
WebSocket
message.
79
"""Receive a
WebSocket
frame and return its payload as a text in
standalone.py
33
"""Standalone
WebSocket
server.
50
<websock_handlers> is the path to the root directory of
WebSocket
handlers.
51
See __init__.py for details of <websock_handlers> and how to write
WebSocket
151
# 1024 is practically large enough to contain
WebSocket
handshake lines.
234
"""Don't use this method from
WebSocket
handler. Drains unread data
269
"""HTTPServer specialized for
WebSocket
."""
461
"""CGIHTTPRequestHandler specialized for
WebSocket
."""
515
# Variables set by this method will be also used by
WebSocket
request
719
help='
WebSocket
handlers root directory.')
724
help=('
WebSocket
handlers map file.
[
all
...]
_stream_hybi.py
32
of the
WebSocket
protocol (RFC 6455).
70
# Helper functions made public to be used for writing unittests for
WebSocket
178
ws_version: the version of
WebSocket
protocol.
412
"""A class for parsing/building frames of the
WebSocket
protocol
678
"""Receive a
WebSocket
frame and return its payload as a text in
734
# The
WebSocket
protocol section 4.4 specifies that invalid
765
"""Closes a
WebSocket
connection.
813
# TODO: 3. close the
WebSocket
connection.
833
"""Returns the opcode of the
WebSocket
message which the last received
stream.py
45
# These methods are intended to be used by
WebSocket
client developers to have
/external/webkit/Tools/Scripts/
run-webkit-websocketserver
50
my $webSocketServerPidFile = "$testDirectory/
websocket
.pid";
/external/chromium-trace/trace-viewer/src/importer/
timeline_stream_importer_test.html
44
return
WebSocket
.OPEN;
45
return
WebSocket
.CLOSED;
Completed in 420 milliseconds
1
2
3
4
5
6