Bläddra i källkod

enable channel_name communication without need of authentification

master
Dirk Alders 3 år sedan
förälder
incheckning
7c02c8dd3c
1 ändrade filer med 8 tillägg och 1 borttagningar
  1. 8
    1
      __init__.py

+ 8
- 1
__init__.py Visa fil

@@ -166,7 +166,14 @@ class struct_json_protocol(object):
166 166
                          SID_WRITE_REQUEST: SID_WRITE_RESPONSE,
167 167
                          SID_EXECUTE_REQUEST: SID_EXECUTE_RESPONSE}
168 168
 
169
-    SID_AUTH_LIST = [SID_AUTH_SEED_REQUEST, SID_AUTH_KEY_REQUEST, SID_AUTH_KEY_CHECK_REQUEST, SID_AUTH_KEY_CHECK_RESPONSE]
169
+    SID_AUTH_LIST = [
170
+        SID_AUTH_SEED_REQUEST,
171
+        SID_AUTH_KEY_REQUEST,
172
+        SID_AUTH_KEY_CHECK_REQUEST, 
173
+        SID_AUTH_KEY_CHECK_RESPONSE,
174
+        SID_CHANNEL_NAME_REQUEST,
175
+        SID_CHANNEL_NAME_RESPONSE
176
+    ]
170 177
 
171 178
     STATUS_OKAY = 0
172 179
     STATUS_BUFFERING_UNHANDLED_REQUEST = 1

Laddar…
Avbryt
Spara