-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Transport Option to allow egress proxies (#217)
This commit adds a `Transport` to the `Options` struct when constructing a new instance of the Go SDK. If set it allows the end user to pass in their own `http.RoundTripper` instead of using `http.DefaultTransport`. The reasoning for this change it to allow users to provide a transport which is capabile of acting as middleware for the outbound requests made by the SDK (such as allowing routing via an authenticated egress proxy). Co-authored-by: Dominic Black <[email protected]>
- Loading branch information
1 parent
3ad0fae
commit 8f92476
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters