Function createSyntheticContext
- createSyntheticContext(info?): {
pass: [Request, Response];
promise: Promise<{
code: number;
data: string;
headers: Record<string, string>;
redirect?: string;
sendFile?: string;
}>;
request: Request;
response: Response;
} Returns {
pass: [Request, Response];
promise: Promise<{
code: number;
data: string;
headers: Record<string, string>;
redirect?: string;
sendFile?: string;
}>;
request: Request;
response: Response;
}
promise: Promise<{
code: number;
data: string;
headers: Record<string, string>;
redirect?: string;
sendFile?: string;
}>