antlion-lacewing - v2.0.1
    Preparing search index...

    Interface NodeRequestLike

    The parts of a Node IncomingMessage the adapter reads. Express's req, Fastify's request.raw and Koa's ctx.req all are one.

    interface NodeRequestLike {
        headersDistinct: Readonly<Record<string, readonly string[] | undefined>>;
        method?: string;
        originalUrl?: string;
        url?: string;
    }
    Index
    headersDistinct: Readonly<Record<string, readonly string[] | undefined>>
    method?: string
    originalUrl?: string

    Express keeps the path here before a mounted router trims url.

    url?: string