DaemonOptions are options for connecting to a daemon process.

Hierarchy

Constructors

Properties

daemonAddress: string
namespace: string
pollInterval: number
transport: Transport

Methods

  • client returns a client for the daemon.

    Returns DaemonClient

    the client for the daemon.

  • defaults returns the default options.

    Returns DaemonOptions

    the default options.

  • interceptor returns an interceptor that sets the namespace header on RPC requests.

    Parameters

    • namespace: string

    Returns Interceptor

    the interceptor for the daemon.

Generated using TypeDoc