| 96 | } |
| 97 | |
| 98 | void WSClient::onReceivedResponseHeader(const HTTP::HTTPResponse& response) |
| 99 | { |
| 100 | // Check for WebSocket handshaked status |
| 101 | if (_ws_handshaked) |
| 102 | return; |
| 103 | |
| 104 | // Try to perform WebSocket upgrade |
| 105 | if (!PerformClientUpgrade(response, id())) |
| 106 | { |
| 107 | HTTPClient::onReceivedResponseHeader(response); |
| 108 | return; |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | void WSClient::onReceivedResponse(const HTTP::HTTPResponse& response) |
| 113 | { |
nothing calls this directly
no outgoing calls
no test coverage detected