Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @ndn/node-transport

Index

Functions

joinHostPort

  • joinHostPort(hostname: string, port: number): string

splitHostPort

  • splitHostPort(hostport: string): { host: string; port?: number }
  • Split a network address of the form "host:port" into host and port.

    Parameters

    • hostport: string

    Returns { host: string; port?: number }

    • host: string
    • Optional port?: number

Generated using TypeDoc