botbuilder
Version:
Bot Builder is a framework for building rich bots on virtually any platform.
16 lines (14 loc) • 517 B
text/typescript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/**
* Represents a Node.js HTTP Request, including the minimal set of use properties.
* Compatible with Restify, Express, and Node.js core http.
*/
export interface Request<
Body extends Record<string, unknown> = Record<string, unknown>,
Headers extends Record<string, string[] | string | undefined> = Record<string, string[] | string | undefined>,
> {
body?: Body;
headers: Headers;
method?: string;
}