UNPKG

yandex-cloud-functions-router

Version:
41 lines (40 loc) 919 B
import { HttpMethod } from '../httpMethod'; declare type CloudFunctionHttpEvent = { httpMethod: HttpMethod; headers: { [name: string]: string; }; params: { [name: string]: string; }; pathParams: { [name: string]: string; }; multiValueParams: { [name: string]: string[]; }; multiValueHeaders: { [name: string]: string[]; }; queryStringParameters: { [name: string]: string; }; multiValueQueryStringParameters: { [name: string]: string[]; }; requestContext: { identity: { sourceIp: string; userAgent: string; }; httpMethod: HttpMethod; requestId: string; requestTime: string; requestTimeEpoch: number; }; body: string; isBase64Encoded: boolean; path: string; url: string; }; export { CloudFunctionHttpEvent };