WebsocketConnection.this

Creates a #SoupWebsocketConnection on @stream. This should be called after completing the handshake to begin using the WebSocket protocol.

Parameters

stream IOStream

a #GIOStream connected to the WebSocket server

uri URI

the URI of the connection

type SoupWebsocketConnectionType

the type of connection (client/side)

origin string

the Origin of the client

protocol string

the subprotocol in use

Return Value

a new #SoupWebsocketConnection

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.50