Websocket
Extension
Class
constructor
name
parent
Class
name
configure
get
Request
Params
get
Response
Params
process
Incoming
Message
process
Outgoing
Message
NODE-GTK API Reference
Soup-2.4
Soup
WebsocketExtensionClass
Class WebsocketExtensionClass
The class structure for the SoupWebsocketExtension.
record
Hierarchy
WebsocketExtensionClass
Index
Constructors
constructor
Properties
name
parent
Class
name
Methods
configure
get
Request
Params
get
Response
Params
process
Incoming
Message
process
Outgoing
Message
Constructors
constructor
new
Websocket
Extension
Class
(
)
:
Soup
.
WebsocketExtensionClass
Returns
Soup
.
WebsocketExtensionClass
Properties
name
name
:
string
parent
Class
parent
Class
:
GObject
.
ObjectClass
the parent class
field
Static
name
name
:
string
Methods
configure
configure
(
extension
:
Soup
.
WebsocketExtension
, connectionType
:
Soup
.
WebsocketConnectionType
, params
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
boolean
Parameters
extension:
Soup
.
WebsocketExtension
connectionType:
Soup
.
WebsocketConnectionType
params:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
boolean
get
Request
Params
get
Request
Params
(
extension
:
Soup
.
WebsocketExtension
)
:
string
Parameters
extension:
Soup
.
WebsocketExtension
Returns
string
get
Response
Params
get
Response
Params
(
extension
:
Soup
.
WebsocketExtension
)
:
string
Parameters
extension:
Soup
.
WebsocketExtension
Returns
string
process
Incoming
Message
process
Incoming
Message
(
extension
:
Soup
.
WebsocketExtension
, header
:
number
, payload
:
any
)
:
[
any
,
number
]
Parameters
extension:
Soup
.
WebsocketExtension
header:
number
payload:
any
Returns
[
any
,
number
]
process
Outgoing
Message
process
Outgoing
Message
(
extension
:
Soup
.
WebsocketExtension
, header
:
number
, payload
:
any
)
:
[
any
,
number
]
Parameters
extension:
Soup
.
WebsocketExtension
header:
number
payload:
any
Returns
[
any
,
number
]
Websocket
Extension
Class
constructor
name
parent
Class
name
configure
get
Request
Params
get
Response
Params
process
Incoming
Message
process
Outgoing
Message
base64:eyJwYWdlTmF2aWd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