Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HostAddress

Hierarchy

  • HostAddress

Index

Constructors

Properties

host: undefined | string
isIPv6: undefined | boolean
port: undefined | number
socketPath: undefined | string

Methods

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

    • ipv6Brackets: boolean = false

      optionally request ipv6 bracket notation required for connection strings

    Returns string

  • fromSrvRecord(__namedParameters: SrvRecord): HostAddress

Generated using TypeDoc