Session.websocketConnectFinish

Gets the classWebsocketConnection response to a soup.session.Session.websocketConnectAsync call.

If successful, returns a classWebsocketConnection that can be used to communicate with the server.

Parameters

result gio.async_result.AsyncResult

the #GAsyncResult passed to your callback

Return Value

Type: soup.websocket_connection.WebsocketConnection

a new #SoupWebsocketConnection, or null on error.