Preparing search index...
The search index is not available
Astro Node.js Fastify adapter - v0.0.12
Astro Node.js Fastify adapter
<internal>
WebSocketClient
Interface WebSocketClient
interface
WebSocketClient
{
socket
:
WebSocket
;
send
(
payload
)
:
void
;
send
(
event
,
payload
?
)
:
void
;
}
Index
Properties
socket
Methods
send
Properties
socket
socket
:
WebSocket
The raw WebSocket instance
Advanced
Methods
send
send
(
payload
)
:
void
Send event to the client
Parameters
payload
:
HMRPayload
Returns
void
send
(
event
,
payload
?
)
:
void
Send custom event
Parameters
event
:
string
Optional
payload
:
any
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
socket
send
Astro Node.js Fastify adapter - v0.0.12
Loading...
The raw WebSocket instance