Method Protocols.DNS.async_client()->get_mx_all()


Method get_mx_all

Request get_mx_all(string host, function(string, array(mapping(string:string|int)), __unknown__ ... :void) callback, mixed ... args)

Description

Looks up the mx pointers for a host, and when done calls the function callback with the results as an array of mappings.

Returns

Returns a Request object where progress can be observed from the retries variable and the request can be cancelled using the cancel method.


Method get_mx_all

variant Concurrent.Future get_mx_all(string host)

Description

Looks up the mx pointers for a host. Returns a Concurrent.Future object that resolves into an array of mappings.