Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/uriUtils"

Index

Type aliases

Functions

Type aliases

UriParts

UriParts: object

Type declaration

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

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