xmpp-httpx - v0.11.0
    Preparing search index...

    Type Alias HttpxHandler

    HttpxHandler: (
        req: HttpxServerRequest,
    ) =>
        | Response
        | HttpxHandlerResponse
        | Promise<Response | HttpxHandlerResponse>

    Returning a WHATWG Response is supported directly, which makes reverse-proxying to an HTTP origin literally return fetch(...).

    Type Declaration