Skip to content

Commit

Permalink
docs: add unix domain socket example
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead authored Mar 2, 2024
1 parent b2dcfc9 commit c6e5137
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ $ curl -s localhost:5000
Hello world
```

You can listen to UNIX domain sockets as well

```bash
$ http-sh ./sock -- echo Hello world
$ curl -s curl --unix-socket ./sock localhost
Hello world
```

### POST: echo

```bash
Expand Down

0 comments on commit c6e5137

Please sign in to comment.