Class: SrvRecord

vertx-js/srv_record~ SrvRecord

new SrvRecord()

Represent a Service-Record (SRV) which was resolved for a domain.
Source:

Methods

name() → {string}

Returns the name for the server being queried.
Source:
Returns:
Type
string

port() → {number}

Returns the port the service is running on.
Source:
Returns:
Type
number

priority() → {number}

Returns the priority for this service record.
Source:
Returns:
Type
number

protocol() → {string}

Returns the protocol for the service being queried (i.e. "_tcp").
Source:
Returns:
Type
string

service() → {string}

Returns the service's name (i.e. "_http").
Source:
Returns:
Type
string

target() → {string}

Returns the name of the host for the service.
Source:
Returns:
Type
string

weight() → {number}

Returns the weight of this service record.
Source:
Returns:
Type
number