1
0
mirror of https://github.com/danog/dns.git synced 2025-01-23 05:51:11 +01:00
dns/lib/Resolver.php

17 lines
307 B
PHP
Raw Normal View History

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