UNPKG

@infigo-official/types-for-megascript

Version:
50 lines (41 loc) 815 B
/** * Represents a request object. */ interface Request { /** * The HTTP method of the request. */ Method: string; /** * Form data associated with the request. */ Form: Object; /** * Query parameters associated with the request. */ Query: Object; /** * Headers of the request. */ Headers: Object; /** * Body content of the request. */ Body: string; /** * Files uploaded as part of the request. */ Files: FileInstance[]; /** * Client's IP address making the request. */ ClientIpAddress: string; /** * Customer associated with the request. */ Customer: Customer; /** * Customer impersonator if available. */ Impersonator: Customer | null; }