Skip to content

Commit 8f124ef

Browse files
authored
Merge pull request #274 from ryanfowler/codex/document---unix-flag-in-readme
Document unix socket flag
2 parents e8cbb03 + db82f47 commit 8f124ef

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,14 @@ Route the request through the specified proxy.
298298
fetch --proxy http://localhost:8000 example.com
299299
```
300300

301+
**Unix Socket**: `--unix PATH`
302+
303+
Make the request over a Unix domain socket. Only available on Unix-like systems.
304+
305+
```sh
306+
fetch --unix /var/run/service.sock http://unix/
307+
```
308+
301309
**Insecure TLS**: `--insecure`
302310

303311
Allow for invalid TLS certificates from the server.

0 commit comments

Comments
 (0)