- Rename package/module from toki_socket to proto_socket in Dart, Kotlin, Python - Update crosstest implementations to use renamed packages - Add new proto_socket skill, deprecate add-toki-socket-crosstest-language skill - Update domain rules for all languages - Update documentation (README, PORTING_GUIDE, PROTOCOL, VERSIONING)
30 lines
731 B
Python
30 lines
731 B
Python
from proto_socket.base_client import BaseClient
|
|
from proto_socket.communicator import (
|
|
Communicator,
|
|
NotConnectedError,
|
|
ParserMap,
|
|
Transport,
|
|
type_name_of,
|
|
)
|
|
from proto_socket.tcp_client import MAX_PACKET_SIZE, TcpClient, connect_tcp, connect_tcp_tls
|
|
from proto_socket.tcp_server import TcpServer
|
|
from proto_socket.ws_client import WsClient, connect_ws, connect_wss
|
|
from proto_socket.ws_server import WsServer
|
|
|
|
__all__ = [
|
|
"BaseClient",
|
|
"Communicator",
|
|
"MAX_PACKET_SIZE",
|
|
"NotConnectedError",
|
|
"ParserMap",
|
|
"TcpClient",
|
|
"TcpServer",
|
|
"Transport",
|
|
"WsClient",
|
|
"WsServer",
|
|
"connect_tcp",
|
|
"connect_tcp_tls",
|
|
"connect_ws",
|
|
"connect_wss",
|
|
"type_name_of",
|
|
]
|