The socket abstraction of flowR. Essentially a subset of what the default net.Socket of node provides.

Implements

Constructors

Properties

remoteAddress: "fake-address" = 'fake-address'
remotePort: 1234 = 1234

Methods

  • Returns all messages received by the respective socket.

    Parameters

    • Optionalexpected: string[]

      if given, this enforces the respective type field to be as given. In case of failure, this will throw an exception.

    Returns readonly IdMessageBase[]