1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00
dns/lib/Resolver.php
2017-01-10 23:49:38 -06:00

17 lines
316 B
PHP

<?php
namespace Amp\Dns;
use AsyncInterop\Promise;
interface Resolver {
/**
* @see \Amp\Dns\resolve
*/
public function resolve(string $name, array $options = []): Promise;
/**
* @see \Amp\Dns\query
*/
public function query(string $name, $type, array $options = []): Promise;
}