Class KavenAbstractSocket<TSocket, TMessage>Abstract

Type Parameters

  • TSocket

  • TMessage

Constructors

  • Type Parameters

    • TSocket

    • TMessage

    Parameters

    • socket: TSocket

    Returns KavenAbstractSocket<TSocket, TMessage>

Accessors

  • get Socket(): TSocket
  • Returns TSocket

Methods

  • Returns Promise<number>

  • Parameters

    • data: TMessage

    Returns Promise<number>

  • Returns Promise<number>

  • Parameters

    • socket: TSocket

    Returns void

  • Parameters

    • msg: TMessage

    Returns void

Generated using TypeDoc