Skip to main content
Version: 21.4.1

ConnectionTransport interface

Signature:

export interface ConnectionTransport

Properties

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

Methods

MethodDescription
close()
send(message)