Lines Matching refs:websocket
5 // WebSocket live experiment task.
11 // - Connect to |url| with WebSocket protocol within
13 // Checks WebSocket connection can be established.
15 // - Send |websocket_hello_message| on the WebSocket connection and
17 // Checks message can be sent/received on the WebSocket connection.
20 // Checks WebSocket connection keep open in idle state.
32 // Checks WebSocket connection can be closed normally.
48 #include "net/websockets/websocket.h"
51 class WebSocket;
86 net::WebSocket::ProtocolVersion protocol_version;
108 virtual net::WebSocket* CreateWebSocket(
160 virtual void OnOpen(net::WebSocket* websocket);
161 virtual void OnMessage(net::WebSocket* websocket, const std::string& msg);
162 virtual void OnError(net::WebSocket* websocket);
163 virtual void OnClose(net::WebSocket* websocket, bool was_clean);
164 virtual void OnSocketError(const net::WebSocket* websocket, int error);
201 scoped_refptr<net::WebSocket> websocket_;