Represents a request object that includes cookie handling capabilities.
getAllCookies():Promise<Map<string,string>>
Retrieves all cookies from the request.
Promise<Map<string, string>>
IMonoCloudCookieRequest.getAllCookies
getCookie(name:string):Promise<string|undefined>
Retrieves a single cookie value by name.
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the cookie to retrieve. |
Promise<string | undefined>
IMonoCloudCookieRequest.getCookie
getQuery(parameter:string):string|string[] |undefined
Retrieves a query parameter value by name.
| Parameter | Type | Description |
|---|---|---|
parameter | string | The name of the query parameter to retrieve. |
string | string[] | undefined
getRawRequest():Promise<{body:string|Record<string,string>;method:string;url:string; }>
Returns the raw request details including method, URL, and body.
Promise<{ body: string | Record<string, string>; method: string; url: string; }>