WebsocketConnection.getCloseData
string getCloseData()Get the close data received from the WebSocket peer.
This only becomes valid once the WebSocket is in the soup.types.WebsocketState.Closed state. The data may be freed once the main loop is run, so copy it if you need to keep it around.
Returns
the close data or null