Skip to main content
Version: 22.4.0

ConnectionTransport interface

Signature:

export interface ConnectionTransport

Properties

PropertyModifiersTypeDescriptionDefault
oncloseoptional() => void
onmessageoptional(message: string) => void

Methods

MethodDescription
close()
send(message)