Websocket
Connection
Class
constructor
parent
name
closed
closing
error
message
pong
GJS API Reference
Soup-2.4
Soup
WebsocketConnectionClass
Class WebsocketConnectionClass
The abstract base class for #SoupWebsocketConnection
record
Hierarchy
WebsocketConnectionClass
Index
Constructors
constructor
Properties
parent
name
Methods
closed
closing
error
message
pong
Constructors
constructor
new
Websocket
Connection
Class
(
)
:
Soup
.
WebsocketConnectionClass
Returns
Soup
.
WebsocketConnectionClass
Properties
parent
parent
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
closed
closed
(
self
:
Soup
.
WebsocketConnection
)
:
void
Parameters
self:
Soup
.
WebsocketConnection
Returns
void
closing
closing
(
self
:
Soup
.
WebsocketConnection
)
:
void
Parameters
self:
Soup
.
WebsocketConnection
Returns
void
error
error
(
self
:
Soup
.
WebsocketConnection
, error
:
GLib
.
Error
)
:
void
Parameters
self:
Soup
.
WebsocketConnection
error:
GLib
.
Error
Returns
void
message
message
(
self
:
Soup
.
WebsocketConnection
, type
:
Soup
.
WebsocketDataType
, message
:
Bytes
)
:
void
Parameters
self:
Soup
.
WebsocketConnection
type:
Soup
.
WebsocketDataType
message:
Bytes
Returns
void
pong
pong
(
self
:
Soup
.
WebsocketConnection
, message
:
Bytes
)
:
void
Parameters
self:
Soup
.
WebsocketConnection
message:
Bytes
Returns
void
Websocket
Connection
Class
constructor
parent
name
closed
closing
error
message
pong
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLldlYnNvY2tldENvbm5lY3Rpb25DbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0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