Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DnsClientOptions

Configuration options for Vert.x DNS client.

Hierarchy

  • DnsClientOptions

Index

Constructors

constructor

Methods

getActivityLogFormat

  • getActivityLogFormat(): any
  • Set the value of Netty's logging handler's data format: Netty's pipeline is configured for logging on Netty's logger.

    Returns any

getHost

  • getHost(): string
  • Set the host name to be used by this client in requests.

    Returns string

getLogActivity

  • getLogActivity(): boolean
  • Set to true to enable network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Returns boolean

getPort

  • getPort(): number
  • Set the port to be used by this client in requests.

    Returns number

getQueryTimeout

  • getQueryTimeout(): number
  • Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.

    Returns number

isRecursionDesired

  • isRecursionDesired(): boolean
  • Set whether or not recursion is desired

    Returns boolean

setActivityLogFormat

  • Set the value of Netty's logging handler's data format: Netty's pipeline is configured for logging on Netty's logger.

    Parameters

    • activityLogFormat: any

    Returns DnsClientOptions

setHost

  • Set the host name to be used by this client in requests.

    Parameters

    • host: string

    Returns DnsClientOptions

setLogActivity

  • Set to true to enable network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Parameters

    • logActivity: boolean

    Returns DnsClientOptions

setPort

  • Set the port to be used by this client in requests.

    Parameters

    • port: number

    Returns DnsClientOptions

setQueryTimeout

  • Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.

    Parameters

    • queryTimeout: number

    Returns DnsClientOptions

setRecursionDesired

  • Set whether or not recursion is desired

    Parameters

    • recursionDesired: boolean

    Returns DnsClientOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc