Soup.WebsocketConnection.get_state – libsoup-3.0 Reference Manual
Packages
libsoup-3.0
Soup
WebsocketConnection
connection_type
extensions
io_stream
keepalive_interval
keepalive_pong_timeout
max_incoming_payload_size
origin
protocol
state
uri
WebsocketConnection
close
get_close_code
get_close_data
get_connection_type
get_extensions
get_io_stream
get_keepalive_interval
get_keepalive_pong_timeout
get_max_incoming_payload_size
get_origin
get_protocol
get_state
get_uri
send_binary
send_message
send_text
set_keepalive_interval
set_keepalive_pong_timeout
set_max_incoming_payload_size
closed
closing
error
message
pong
get_state
Description:
public
WebsocketState
get_state
()
Get the current state of the WebSocket.
Parameters:
this
the WebSocket
Returns:
the state