Type alias UpgradeHandler

UpgradeHandler: ((req, socket, head, parsed_url) => Promise<SocketHandler | undefined>)

Type declaration

    • (req, socket, head, parsed_url): Promise<SocketHandler | undefined>
    • Parameters

      • req: IncomingMessage
      • socket: Duplex
      • head: Buffer
      • parsed_url: UrlWithParsedQuery

      Returns Promise<SocketHandler | undefined>

Generated using TypeDoc