Lines Matching refs:WebSocketServer
94 WebSocketServer::WebSocketServer(const char* protocol_name, in WebSocketServer() function in cuttlefish::WebSocketServer
96 : WebSocketServer(protocol_name, "", assets_dir, server_port) {} in WebSocketServer()
98 WebSocketServer::WebSocketServer(const char* protocol_name, in WebSocketServer() function in cuttlefish::WebSocketServer
106 void WebSocketServer::InitializeLwsObjects() { in InitializeLwsObjects()
225 void WebSocketServer::RegisterHandlerFactory( in RegisterHandlerFactory()
231 void WebSocketServer::RegisterDynHandlerFactory( in RegisterDynHandlerFactory()
237 void WebSocketServer::Serve() { in Serve()
246 int WebSocketServer::WebsocketCallback(struct lws* wsi, in WebsocketCallback()
255 return reinterpret_cast<WebSocketServer*>(protocol->user) in WebsocketCallback()
259 int WebSocketServer::DynHttpCallback(struct lws* wsi, in DynHttpCallback()
267 return reinterpret_cast<WebSocketServer*>(protocol->user) in DynHttpCallback()
271 int WebSocketServer::DynServerCallback(struct lws* wsi, in DynServerCallback()
365 int WebSocketServer::ServerCallback(struct lws* wsi, in ServerCallback()
421 std::shared_ptr<WebSocketHandler> WebSocketServer::InstantiateHandler( in InstantiateHandler()
433 std::unique_ptr<DynHandler> WebSocketServer::InstantiateDynHandler( in InstantiateDynHandler()