You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,16 @@ this specification also highlights the
12
12
The mDNS protocol is related to, but independent of, DNS-Based Service Discovery (DNS-SD)
13
13
as defined in [RFC 6763](http://tools.ietf.org/html/rfc6763).
14
14
15
+
**Table of Contents**
16
+
17
+
*[Quickstart example](#quickstart-example)
18
+
*[Usage](#usage)
19
+
*[Factory](#factory)
20
+
*[createResolver()](#createresolver)
21
+
*[Resolver](#resolver)
22
+
*[Install](#install)
23
+
*[License](#license)
24
+
15
25
> Note: This project is in beta stage! Feel free to report any issues you encounter.
16
26
17
27
## Quickstart example
@@ -48,6 +58,10 @@ $factory = new Factory($loop);
48
58
49
59
The `createResolver()` method can be used to create a mDNS resolver instance that sends multicast DNS queries and waits for incoming unicast DNS responses. It returns a [`Resolver`](#resolver) instance.
50
60
61
+
```php
62
+
$resolver = $factory->createResolver();
63
+
```
64
+
51
65
### Resolver
52
66
53
67
The [`Factory`](#factory) creates instances of the `React\Dns\Resolver\Resolver` class from the [react/dns](https://github.com/reactphp/dns) package.
0 commit comments