MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onReceivedRequestError

Method onReceivedRequestError

source/server/ws/wss_session.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void WSSSession::onReceivedRequestError(const HTTP::HTTPRequest& request, const std::string& error)
91{
92 // Check for WebSocket handshaked status
93 if (_ws_handshaked)
94 {
95 onError(asio::error::fault, "WebSocket error", error);
96 return;
97 }
98
99 HTTPSSession::onReceivedRequestError(request, error);
100}
101
102std::string WSSSession::ReceiveText()
103{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected