UNPKG

886 BTypeScriptView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7/**
8 * @module HTTPMessageHandler
9 */
10import { Context } from "../IContext";
11import { Middleware } from "./IMiddleware";
12/**
13 * @class
14 * @implements Middleware
15 * Class for HTTPMessageHandler
16 */
17export declare class HTTPMessageHandler implements Middleware {
18 /**
19 * @public
20 * @async
21 * To execute the current middleware
22 * @param {Context} context - The request context object
23 * @returns A promise that resolves to nothing
24 */
25 execute(context: Context): Promise<void>;
26}