-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support custom agent in node http handler (#489)
* feat(node-http-handler): support custom agent * fix: supply httpHandlerOptions with client.send() instead of httpOptions * feat: remove Browser&Node handler options interface from types package Because these interfaces are constructor interface for individual http handler, they only need to be exposed from its own http handler package
- Loading branch information
1 parent
8a3bcce
commit 9c6cde8
Showing
8 changed files
with
94 additions
and
90 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { HttpRequest } from "./httpRequest"; | ||
import { HttpResponse } from "./httpResponse"; | ||
import { RequestHandler, HttpOptions } from "@aws-sdk/types"; | ||
import { RequestHandler, HttpHandlerOptions } from "@aws-sdk/types"; | ||
|
||
export type HttpHandler = RequestHandler< | ||
HttpRequest, | ||
HttpResponse, | ||
HttpOptions | ||
HttpHandlerOptions | ||
>; |
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