Options
All
  • Public
  • Public/Protected
  • All
Menu

UDP socket transport.

Hierarchy

  • Transport
    • UdpTransport

Index

Constructors

constructor

Properties

Readonly attributes

attributes: Attributes

Readonly isMulticast

isMulticast: boolean

Readonly laddr

laddr: AddressInfo

Readonly raddr

raddr: AddressInfo

Readonly rx

rx: Rx

Methods

close

  • close(): void

reopen

  • reopen(): Promise<Transport>
  • Reopen the transport after it has failed.

    Returns Promise<Transport>

    the same transport or a new transport after it has been reconnected.

toString

  • toString(): string

Readonly tx

  • tx(iterable: AsyncIterable<Uint8Array>): Promise<void>

Generated using TypeDoc