File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ void WSClient::onReceivedResponse(const HTTP::HTTPResponse& response)
105105 // Check for WebSocket handshaked status
106106 if (_ws_handshaked)
107107 {
108- // Prepare receive frame from the remaining request body
109- auto body = _request .body ();
108+ // Prepare receive frame from the remaining response body
109+ auto body = response .body ();
110110 PrepareReceiveFrame (body.data (), body.size ());
111111 return ;
112112 }
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ void WSSClient::onReceivedResponse(const HTTP::HTTPResponse& response)
105105 // Check for WebSocket handshaked status
106106 if (_ws_handshaked)
107107 {
108- // Prepare receive frame from the remaining request body
109- auto body = _request .body ();
108+ // Prepare receive frame from the remaining response body
109+ auto body = response .body ();
110110 PrepareReceiveFrame (body.data (), body.size ());
111111 return ;
112112 }
You can’t perform that action at this time.
0 commit comments