Function createSyntheticContext

  • Parameters

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

    • pass: [Request, Response]
    • promise: Promise<{
          code: number;
          data: string;
          headers: Record<string, string>;
          redirect?: string;
          sendFile?: string;
      }>
    • request: Request
    • response: Response

Generated using TypeDoc