summaryrefslogtreecommitdiffstats
path: root/docs/rfc.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/rfc.md')
-rw-r--r--docs/rfc.md13
1 files changed, 13 insertions, 0 deletions
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