Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HostAddress

Hierarchy

  • HostAddress

Index

Constructors

constructor

Properties

host

host: undefined | string

isIPv6

isIPv6: undefined | boolean

port

port: undefined | number

socketPath

socketPath: undefined | string

Methods

inspect

  • inspect(): string

toString

  • toString(ipv6Brackets?: boolean): string
  • Parameters

    • ipv6Brackets: boolean = false

      optionally request ipv6 bracket notation required for connection strings

    Returns string

Static fromSrvRecord

  • fromSrvRecord(__namedParameters: SrvRecord): HostAddress

Static fromString

Generated using TypeDoc