Lines Matching refs:connection_id
25 virtual void OnHttpRequest(int connection_id,
28 virtual void OnWebSocketRequest(int connection_id,
31 virtual void OnWebSocketMessage(int connection_id,
34 virtual void OnClose(int connection_id) = 0;
42 void AcceptWebSocket(int connection_id,
44 void SendOverWebSocket(int connection_id, const std::string& data);
45 void Send(int connection_id, const std::string& data);
46 void Send(int connection_id, const char* bytes, int len);
47 void Send200(int connection_id,
50 void Send404(int connection_id);
51 void Send500(int connection_id, const std::string& message);
52 void Close(int connection_id);
91 Connection* FindConnection(int connection_id);