Get the close data received from the WebSocket peer.
This only becomes valid once the WebSocket is in the soup_websocket_state_closed state. The data may be freed once the main loop is run, so copy it if you need to keep it around.
this |
the WebSocket |
the close data or null |