Session.websocketConnectFinish

Gets the #SoupWebsocketConnection response to a soup_session_websocket_connect_async() call and (if successful), returns a #SoupWebsocketConnection that can be used to communicate with the server.

class Session
websocketConnectFinish
(
AsyncResultIF result
)

Parameters

result AsyncResultIF

the #GAsyncResult passed to your callback

Return Value

a new #SoupWebsocketConnection, or %NULL on error.

Throws

GException on failure.

Meta

Since

2.50