Searched refs:SwitchProtocol (Results 1 – 2 of 2) sorted by relevance
41 void SwitchProtocol(ProtocolHandler* handler);
465 inspector_->SwitchProtocol(new WsHandler(inspector_, std::move(tcp_))); in AcceptUpgrade()529 handler->inspector()->SwitchProtocol(nullptr); in ThenCloseAndReportFailure()745 inspector->SwitchProtocol(new HttpHandler(inspector, std::move(tcp))); in Accept()764 void InspectorSocket::SwitchProtocol(ProtocolHandler* handler) { in SwitchProtocol() function in node::inspector::InspectorSocket