HTTPTunneling

From Hotline Wiki
Revision as of 20:13, 3 March 2026 by Lostarch (talk | contribs) (Created page with "== HTTP Tunneling == Tunneling uses two persistent connections: '''POST''' for sending and '''GET''' for receiving. === Tunneling Header === Every transaction sent via the tunnel is preceded by this 8-byte header: {| class="wikitable" ! Description !! Size !! Data Code |- | Data code || 4 || Disconnect (0), Data (1), Padding (2) |- | Data size || 4 || Size of the following transaction |} === MIME Type === All HTTP requests for tunneling must use: <code>Content-Type: ho...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

HTTP Tunneling

Tunneling uses two persistent connections: POST for sending and GET for receiving.

Tunneling Header

Every transaction sent via the tunnel is preceded by this 8-byte header:

Description Size Data Code
Data code 4 Disconnect (0), Data (1), Padding (2)
Data size 4 Size of the following transaction

MIME Type

All HTTP requests for tunneling must use: Content-Type: hotline/protocol