1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
dns/lib/Resolver.php
2017-06-17 10:49:54 +02:00

18 lines
308 B
PHP

<?php
namespace Amp\Dns;
use Amp\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;
}