Required Instance Methodswift-nio 2.72.0NIOHTTP1

    buildUpgradeResponse(channel:upgradeRequest:initialResponseHeaders:)

    Builds the upgrade response headers. Should return any headers that need to be supplied to the client in the 101 Switching Protocols response. If upgrade cannot proceed for any reason, this function should fail the future.

    HTTPServerUpgradeHandler.swift:43
    func buildUpgradeResponse(channel: Channel, upgradeRequest: HTTPRequestHead, initialResponseHeaders: HTTPHeaders) -> EventLoopFuture<HTTPHeaders>

    Other requirements

    Instance members