mirror of
https://github.com/openmax-server/server.git
synced 2026-06-25 12:21:07 +03:00
TamTam: websocket transport for web version
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import asyncio, logging, traceback
|
||||
import asyncio
|
||||
import logging
|
||||
import traceback
|
||||
from common.proto_tcp import MobileProto
|
||||
from tamtam.processors import Processors
|
||||
from common.rate_limiter import RateLimiter
|
||||
@@ -6,7 +8,7 @@ from common.opcodes import Opcodes
|
||||
from common.tools import Tools
|
||||
|
||||
class TTMobileServer:
|
||||
def __init__(self, host="0.0.0.0", port=443, ssl_context=None, db_pool=None, clients={}, send_event=None):
|
||||
def __init__(self, host, port, ssl_context, db_pool, clients, send_event):
|
||||
self.host = host
|
||||
self.port = port
|
||||
self.ssl_context = ssl_context
|
||||
|
||||
Reference in New Issue
Block a user