Documentation
    Preparing search index...

    Interface AstroLikeContext

    Minimal interface representing Astro API/Middleware Context.

    interface AstroLikeContext {
        locals: Record<string, any>;
        redirect: (path: string, status?: number) => Response;
        request: Request;
        url: URL;
    }
    Index

    Properties

    locals: Record<string, any>
    redirect: (path: string, status?: number) => Response
    request: Request
    url: URL