SrvRecord

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

package

Default

Methods

__construct

__construct() 

Returns the name for the server being queried.

name() : string

Response

string

Returns the port the service is running on.

port() : integer

Response

integer

Returns the priority for this service record.

priority() : integer

Response

integer

Returns the protocol for the service being queried (i.e. "_tcp").

protocol() : string

Response

string

Returns the service's name (i.e. "_http").

service() : string

Response

string

Returns the name of the host for the service.

target() : string

Response

string

Returns the weight of this service record.

weight() : integer

Response

integer