@smithy/fetch-http-handler 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,8 +22,8 @@ export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerCon
|
|
|
22
22
|
* @returns the input if it is an HttpHandler of any class,
|
|
23
23
|
* or instantiates a new instance of this handler.
|
|
24
24
|
*/
|
|
25
|
-
static create(instanceOrOptions?: HttpHandler<any> |
|
|
26
|
-
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions |
|
|
25
|
+
static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
|
|
26
|
+
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
|
|
27
27
|
destroy(): void;
|
|
28
28
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
29
29
|
response: HttpResponse;
|
|
@@ -22,8 +22,8 @@ export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerCon
|
|
|
22
22
|
* @returns the input if it is an HttpHandler of any class,
|
|
23
23
|
* or instantiates a new instance of this handler.
|
|
24
24
|
*/
|
|
25
|
-
static create(instanceOrOptions?: HttpHandler<any> |
|
|
26
|
-
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions |
|
|
25
|
+
static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
|
|
26
|
+
constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
|
|
27
27
|
destroy(): void;
|
|
28
28
|
handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
|
|
29
29
|
response: HttpResponse;
|
package/package.json
CHANGED