mirror of
https://github.com/danog/LibDNSJson.git
synced 2024-11-30 04:19:14 +01:00
Add installation instructions
This commit is contained in:
parent
7d5e07815d
commit
d91ef5cbb4
@ -9,3 +9,9 @@ Encoder/decoder for [google's JSON DNS message format](https://developers.google
|
|||||||
The API consists of a `QueryEncoderFactory` that creates `QueryEncoder` objects, that can encode libdns `Message` objects to a query string that can be used both with google's and cloudflare's DNS-over-HTTPS APIs (for cloudflare, using directly UDP wireformat with `libdns`'s `Encoder` is recommended).
|
The API consists of a `QueryEncoderFactory` that creates `QueryEncoder` objects, that can encode libdns `Message` objects to a query string that can be used both with google's and cloudflare's DNS-over-HTTPS APIs (for cloudflare, using directly UDP wireformat with `libdns`'s `Encoder` is recommended).
|
||||||
|
|
||||||
The `JsonDecoderFactory` creates `JsonDecoder` objects, that accept JSON strings and decode them back to `Message` objects.
|
The `JsonDecoderFactory` creates `JsonDecoder` objects, that accept JSON strings and decode them back to `Message` objects.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```
|
||||||
|
composer require danog/libdns-json
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user