Skip to content

Commit dca6f95

Browse files
AllanZhengYPsrchase
authored andcommitted
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
1 parent e2884af commit dca6f95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { HttpRequest } from "./httpRequest";
22
import { HttpResponse } from "./httpResponse";
3-
import { RequestHandler, HttpOptions } from "@aws-sdk/types";
3+
import { RequestHandler, HttpHandlerOptions } from "@aws-sdk/types";
44

55
export type HttpHandler = RequestHandler<
66
HttpRequest,
77
HttpResponse,
8-
HttpOptions
8+
HttpHandlerOptions
99
>;

0 commit comments

Comments
 (0)