Searched defs:WebSocket (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/ppapi/cpp/
H A Dwebsocket.h12 /// This file defines the WebSocket interface providing bi-directional,
26 /// The <code>WebSocket</code> class providing bi-directional,
28 class WebSocket : public Resource { class in namespace:pp
30 /// Constructs a WebSocket object.
34 explicit WebSocket(const InstanceHandle& instance);
36 /// Destructs a WebSocket object.
37 virtual ~WebSocket();
39 /// Connect() connects to the specified WebSocket server. You can call this
42 /// @param[in] url A <code>Var</code> of string type representing a WebSocket
61 /// the WebSocket AP
[all...]
H A Dwebsocket.cc25 WebSocket::WebSocket(const InstanceHandle& instance) { function in class:pp::WebSocket
32 WebSocket::~WebSocket() {
35 int32_t WebSocket::Connect(const Var& url, const Var protocols[],
55 int32_t WebSocket::Close(uint16_t code, const Var& reason,
65 int32_t WebSocket::ReceiveMessage(Var* message,
79 int32_t WebSocket::SendMessage(const Var& message) {
87 uint64_t WebSocket::GetBufferedAmount() {
94 uint16_t WebSocket
[all...]
/external/chromium_org/net/server/
H A Dweb_socket.h19 class WebSocket { class in namespace:net
28 static WebSocket* CreateWebSocket(HttpServer* server,
44 virtual ~WebSocket() {}
47 WebSocket(HttpServer* server, HttpConnection* connection);
53 DISALLOW_COPY_AND_ASSIGN(WebSocket);
H A Dweb_socket.cc45 class WebSocketHixie76 : public net::WebSocket {
47 static net::WebSocket* Create(HttpServer* server,
77 base::StringPrintf("HTTP/1.1 101 WebSocket Protocol Handshake\r\n"
78 "Upgrade: WebSocket\r\n"
80 "Sec-WebSocket-Origin: %s\r\n"
81 "Sec-WebSocket-Location: %s\r\n"
121 : WebSocket(server, connection) {
129 "Invalid request format. Sec-WebSocket-Key1 is empty or isn't "
138 "Invalid request format. Sec-WebSocket-Key2 is empty or isn't "
180 class WebSocketHybi17 : public WebSocket {
418 WebSocket::WebSocket(HttpServer* server, HttpConnection* connection) function in class:net::WebSocket
[all...]
/external/chromium_org/third_party/WebKit/public/web/
H A DWebSocket.h45 class WebSocket { class in namespace:blink
71 BLINK_EXPORT static WebSocket* create(const WebDocument&, WebSocketClient*);
72 virtual ~WebSocket() { }
74 // These functions come from binaryType attribute of the WebSocket API
80 // See also, The WebSocket API - http://www.w3.org/TR/websockets/ .
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DMixedContentChecker.h76 WebSocket, enumerator in enum:blink::FINAL::MixedContentType
/external/chromium_org/chrome/test/chromedriver/net/
H A Dwebsocket.h26 // A text-only, non-thread safe WebSocket. Must be created and used on a single
28 class WebSocket { class
31 WebSocket(const GURL& url, WebSocketListener* listener);
32 virtual ~WebSocket();
34 // Initializes the WebSocket connection. Invokes the given callback with
81 DISALLOW_COPY_AND_ASSIGN(WebSocket);
84 // Listens for WebSocket messages and disconnects on the same thread as the
85 // WebSocket.
90 // Called when a WebSocket message is received.
93 // Called when the WebSocket connectio
[all...]
H A Dwebsocket.cc59 WebSocket::WebSocket(const GURL& url, WebSocketListener* listener) function in class:WebSocket
66 WebSocket::~WebSocket() {
70 void WebSocket::Connect(const net::CompletionCallback& callback) {
90 &WebSocket::OnSocketConnect, base::Unretained(this)));
95 bool WebSocket::Send(const std::string& message) {
118 void WebSocket::OnSocketConnect(int code) {
130 "Sec-WebSocket-Key: %s\r\n"
131 "Sec-WebSocket
[all...]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
H A DWebSocket.java14 public abstract class WebSocket { class
35 WebSocket.this.out = out;
43 public WebSocket(NanoHTTPD.IHTTPSession handshakeRequest) { method in class:WebSocket

Completed in 286 milliseconds