Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Client/Http2Connection

Index

Functions

Const createHttp2Connection

  • createHttp2Connection(host: string, port: number): Promise<Connection>
  • Create a new connection to a daemon using HTTP/2.

    deprecated

    Use an SSH connection (with an SSH daemon) instead.

    Parameters

    • host: string

      Hostname or IP address of the daemon.

    • port: number

      The daemon's port number on the host.

    Returns Promise<Connection>

    A connection to the daemon, or the underlying HTTP/2 error.

Generated using TypeDoc