Skip to main content
Version: 23.11.0

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)