1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
dns/lib/Resolver.php
2016-11-15 10:42:15 -06:00

17 lines
344 B
PHP

<?php declare(strict_types = 1);
namespace Amp\Dns;
use Interop\Async\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;
}