Skip to content

Commit 3cd0d50

Browse files
committed
docs(recipe): client usage in deno [skip ci]
1 parent f4a2aab commit 3cd0d50

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,21 @@ const client = createClient({
550550

551551
</details>
552552

553+
<details id="deno-client">
554+
<summary><a href="#deno-client">🔗</a> Client usage in Deno</summary>
555+
556+
```js
557+
import { createClient } from 'graphql-http';
558+
559+
const client = createClient({
560+
url: 'http://deno.earth:4000/graphql',
561+
});
562+
563+
// consider other recipes for usage inspiration
564+
```
565+
566+
</details>
567+
553568
<details id="auth">
554569
<summary><a href="#auth">🔗</a> Server handler usage with authentication</summary>
555570

0 commit comments

Comments
 (0)