Skip to main content
Version: 21.0.1

ConnectionTransport interface

Signature:

export interface ConnectionTransport

Properties

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

Methods

MethodDescription
close()
send(message)