1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
dns/lib/Resolver.php
Aaron Piotrowski 644c4f8fc6 Drop strict types
Dropping strict types so it is not enforced in callbacks provided by application code.
2016-12-29 21:16:14 -06:00

17 lines
317 B
PHP

<?php
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;
}