Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Client/Connection

Index

Interfaces

Type aliases

Type aliases

ConnectionFactory

ConnectionFactory: (host: string, port: number) => Promise<Connection>

Create a new connection to a daemon.

param

Hostname or IP address of the daemon.

param

The daemon's port number on the host.

returns

Resolve with a connection to the daemon, or reject with the underlying protocol error.

Type declaration

    • (host: string, port: number): Promise<Connection>
    • Parameters

      • host: string
      • port: number

      Returns Promise<Connection>

Generated using TypeDoc