Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace WebSocketChannelConnection

Index

Properties

Functions

Methods

Properties

channel

Readonly reader

reader: MessageReader

Readonly writer

writer: MessageWriter

Functions

create

is

  • is(connection: IConnection): connection is WebSocketChannelConnection

Methods

dispose

  • dispose(): void

forward

  • forward(to: IConnection, map?: undefined | ((message: Message) => Message)): void
  • Parameters

    • to: IConnection
    • Optional map: undefined | ((message: Message) => Message)

    Returns void

onClose

  • onClose(callback: () => void): Disposable
  • Parameters

    • callback: () => void
        • (): void
        • Returns void

    Returns Disposable