Type alias UpgradeHandlerWithPathArgs

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

Type declaration

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

      • req: IncomingMessage
      • socket: Duplex
      • head: Buffer
      • parsed_url: UrlWithParsedQuery
      • path_args: object | undefined

      Returns Promise<SocketHandler | undefined>

Generated using TypeDoc