Skip to content

Commit

Permalink
Tidy readme a little
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed May 8, 2024
1 parent 445b24e commit 16f1e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ worker.terminate();

## Internals

When spawning the Deno process deno-http-worker connects to the process over a Unix socket. This is for performance and efficiency. As a result, the worker does not provide an address to make requests to, but instead returns an instance of a [got](https://www.npmjs.com/package/got) client that you can make requests with. This ensures that only the underlying `http2.ClientHttp2Session` is used to make requests.
Deno-http-worker connects to the Deno process over a single Unix socket http2 connection to make requests. This is for performance and efficiency. As a result, the worker does not provide an address or url, but instead returns an instance of a [got](https://www.npmjs.com/package/got) client that you can make requests with. This ensures that only the underlying `http2.ClientHttp2Session` is used to make requests.

If you need more advanced usage that cannot be covered by `got`, please open a ticket.

0 comments on commit 16f1e15

Please sign in to comment.