1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00
dns/lib/Resolver.php
2017-06-22 20:08:27 +02:00

18 lines
287 B
PHP

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