Creates a #SoupWebsocketConnection on @stream. This should be called after completing the handshake to begin using the WebSocket protocol.
a #GIOStream connected to the WebSocket server
the URI of the connection
the type of connection (client/side)
the Origin of the client
the subprotocol in use
a new #SoupWebsocketConnection
ConstructionException GTK+ fails to create the object.
2.50
See Implementation
Creates a #SoupWebsocketConnection on @stream. This should be called after completing the handshake to begin using the WebSocket protocol.