Skip to main content
Version: 20.4.0

ConnectionTransport interface

Signature:

export interface ConnectionTransport

Properties

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

Methods

MethodDescription
close()
send(message)