Skip to content

Commit 1287a5e

Browse files
Document constructor auto-loading of env headers
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent ff5d6f4 commit 1287a5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ export HYPERBROWSER_HEADERS='{"X-Correlation-Id":"req-123"}' # optional JSON obj
2727

2828
`base_url` must start with `https://` (or `http://` for local testing).
2929
The SDK normalizes trailing slashes automatically.
30+
When `config` is not provided, client constructors also read `HYPERBROWSER_HEADERS`
31+
automatically (same as API key and base URL).
3032

3133
You can also pass custom headers (for tracing/correlation) either via
3234
`ClientConfig` or directly to the client constructor.

0 commit comments

Comments
 (0)