Skip to main content
Version: 22.8.2

ConnectionTransport interface

Signature:

export interface ConnectionTransport

Properties

Property

Modifiers

Type

Description

Default

onclose

optional

() => void

onmessage

optional

(message: string) => void

Methods

Method

Description

close()
send(message)