Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias SpoolHonoContext

    the parts of a Hono context the middleware uses, so the package needs no hono types

    type SpoolHonoContext = {
        req: { raw: Request };
        res: Response | undefined;
    }
    Index
    req: { raw: Request }

    the request side of the Hono context

    Type Declaration

    • raw: Request

      the Fetch Request for the incoming request

    res: Response | undefined

    the response the route produced, or undefined before one exists