Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/source/http.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
=======================
Http Message Handling
=======================

xio can handle both Http/1.1 and Http2 (h2) messages.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'd be nice to state a how h1/h2 transitions work in proxy mode

To make things simple for the user these messages are abstracted behind the http.Request and http.Response interfaces.

Http/1.1 Abstraction
--------------------

Things to note:
* stream id is always -1

Http2 Abstraction
-----------------

Things to note:
* stream id

Full Messages vs Segmented Messages
-----------------------------------