get_close_data


Description:

public unowned string get_close_data ()

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.

Parameters:

this

the WebSocket

Returns:

the close data or null