From f66e28aa88a5f4176934001fa9e4967ddccde4a9 Mon Sep 17 00:00:00 2001 From: bt Date: Wed, 8 Apr 2026 15:31:58 +0200 Subject: [docs] Describe connection types --- docs/rfc.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/rfc.md') diff --git a/docs/rfc.md b/docs/rfc.md index eb8f5c1..8c5818e 100644 --- a/docs/rfc.md +++ b/docs/rfc.md @@ -186,6 +186,19 @@ Payload is always empty for this type. |-------|-----------| | uint8 | ver_major | | uint8 | ver_minor | +| uint8 | conn_type | + +#### Connection types + +`conn_type` specifies type of the connection. User connecting to server +should use `0x01`. If connection is initialize between two servers to exchange +message connection type should be `0x02`. Depending on connection type +different auth method will be used. + +| Type | Connection type | +|------|------------------| +| 0x01 | User -> Server | +| 0x02 | Server -> Server | ### Auth -- cgit v1.2.3