Directus / @directus/sdk / types / WebSocketInterface
Type Alias: WebSocketInterface ​
WebSocketInterface:
object
Type declaration ​
readyState ​
readonly
readyState:number
addEventListener() ​
Parameters ​
• type: string
• listener
Returns ​
void
close() ​
Parameters ​
• code?: number
• reason?: string
Returns ​
void
removeEventListener() ​
Parameters ​
• type: string
• listener
Returns ​
void
send() ​
Parameters ​
• data: string
Returns ​
void