Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "utils/uriUtils"

Index

Type aliases

Variables

Functions

Type aliases

UriParts

UriParts: { host: string; nodePubKey: string; port: number }

Type declaration

  • host: string
  • nodePubKey: string
  • port: number

Variables

assert

assert: assert

Functions

Const parseUri

  • Splits a URI in the [pubkey]@[host]:[port] format into the public key, host and port components. If port is not present in the URI, it defaults to 8885.

    Parameters

    • uri: string

    Returns UriParts

Const toUri

Generated using TypeDoc