WebsocketConnection
constructor(stream: <Error class: unknown class>, uri: <Error class: unknown class>, type: WebsocketConnectionType, origin: String? = null, protocol: String? = null, extensions: <Error class: unknown class>)
Creates a #SoupWebsocketConnection on @stream with the given active @extensions.
This should be called after completing the handshake to begin using the WebSocket protocol.
Return
a new #SoupWebsocketConnection
Parameters
stream
a #GIOStream connected to the WebSocket server
uri
the URI of the connection
type
the type of connection (client/side)
origin
the Origin of the client
protocol
the subprotocol in use
extensions
a #GList of #SoupWebsocketExtension objects
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)