| 88 | } |
| 89 | |
| 90 | void 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 | |
| 102 | std::string WSSSession::ReceiveText() |
| 103 | { |
nothing calls this directly
no outgoing calls
no test coverage detected