10 lines
No EOL
452 B
TypeScript
10 lines
No EOL
452 B
TypeScript
/**
|
|
* 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;
|
|
}
|
|
//# sourceMappingURL=request.d.ts.map
|