50 lines
967 B
Python
50 lines
967 B
Python
"""NixMsg Python SDK。"""
|
|
|
|
from .async_client import AsyncClient
|
|
from .client import Client
|
|
from .errors import ClosedError, NixMsgError, NotConnectedError
|
|
from .protocol import register_url_from_connect
|
|
from .transport import PahoTransport
|
|
from .types import (
|
|
Body,
|
|
ConnectionEvent,
|
|
ConnectionState,
|
|
GroupEvent,
|
|
IncomingMessage,
|
|
PresenceEvent,
|
|
Receipt,
|
|
RegisterOptions,
|
|
RegisterResult,
|
|
RecallResult,
|
|
RevokedEvent,
|
|
SendOptions,
|
|
SendResult,
|
|
Target,
|
|
)
|
|
|
|
__all__ = [
|
|
"AsyncClient",
|
|
"Body",
|
|
"Client",
|
|
"ClosedError",
|
|
"ConnectionEvent",
|
|
"ConnectionState",
|
|
"GroupEvent",
|
|
"IncomingMessage",
|
|
"NixMsgError",
|
|
"NotConnectedError",
|
|
"PahoTransport",
|
|
"PresenceEvent",
|
|
"Receipt",
|
|
"RegisterOptions",
|
|
"RegisterResult",
|
|
"RecallResult",
|
|
"RevokedEvent",
|
|
"SendOptions",
|
|
"SendResult",
|
|
"Target",
|
|
"register_url_from_connect",
|
|
]
|
|
|
|
__version__ = "0.1.0"
|