Setu-TS
    Preparing search index...

    Function createUpgradeRequest

    • Reconstructs a web-standard Request from Node's upgrade event arguments, so the upgrade router sees the same shape on every runtime.

      An upgrade request never carries a body, so none is attached — which also keeps the request undisturbed for the handshake.

      Parameters

      Returns Request

      The equivalent web-standard request

      0.2.0