V2Fly.orgV2Fly.org
Quick Start
Config Reference
Config Reference (v5, WIP)
Tools
Developer Guide
New concise guide
  • 简体中文
  • English
GitHub
Quick Start
Config Reference
Config Reference (v5, WIP)
Tools
Developer Guide
New concise guide
  • 简体中文
  • English
GitHub
  • Config Reference

    • Configuration File Format (Draft)
    • Inbounds
    • Outbounds
    • Proxy Protocol
    • Stream
    • Service
    • DNS
    • Router
    • Geo
  • Proxy Protocol

    • Blackhole
    • DNS
    • Dokodemo
    • Freedom
    • HTTP
    • Socks
    • VMess
    • VLite
    • Shadowsocks
    • Shadowsocks2022
    • Trojan
    • Hysteria2
    • VLESS
    • Loopback
  • Stream Transport Protocol

    • TCP
    • WebSocket
    • KCP(mKCP)
    • gRPC
    • QUIC
    • Meek
    • HTTPUpgrade
      • HTTPUpgrade
      • Header
    • Hysteria2
    • mekya
  • Service

    • Stats
    • Policy
    • Browser Forwarder
    • Burst Observatory
    • Background Observatory
    • Tun
    • Subscription Manager
    • File System Storage

HTTPUpgrade

HTTPUpgrade complete a HTTP 1.1 Upgrade request and response before using the connection directly. It is similar to WebSocket in the way it create an direction channel that can be forwarded by many reverse proxies and CDNs, without the need to deal with all the issue around WebSocket Protocol itself. TLS or other security protocol are required for this transport for it function as designed. (v5.10.0+)

Look at its pull request for working examples of how to configure it.

HTTPUpgrade

  • Name: httpupgrade
  • Type: Transport Protocol
  • ID: stream.httpupgrade

path : string

host : string

The host domain name for HTTP request.

maxEarlyData: number

The max number of bytes of early data. (v5.24.0)

earlyDataHeaderName: string

The header name for WebSocket Early Data. (v5.24.0)

'header': [ Header ]

The header to be sent in HTTP request. (v5.24.0)

Header

'key' : string

The HTTP header key.

'value' : string

The HTTP header value.

Edit this page on GitHub
Last Updated:
Contributors: Shelikhoo
Prev
Meek
Next
Hysteria2