|
|
@ -3,10 +3,20 @@ |
|
|
|
from typing import Any, Coroutine |
|
|
|
from warnings import warn |
|
|
|
|
|
|
|
from rcon.exceptions import EmptyResponse, SessionTimeout, WrongPassword |
|
|
|
from rcon.source import rcon as _rcon |
|
|
|
from rcon.source import Client as _Client |
|
|
|
|
|
|
|
|
|
|
|
__all__ = [ |
|
|
|
'EmptyResponse', |
|
|
|
'SessionTimeout', |
|
|
|
'WrongPassword', |
|
|
|
'Client', |
|
|
|
'rcon' |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
class Client(_Client): |
|
|
|
"""Wrapper for the rcon.source.Client for backwards compatibility.""" |
|
|
|
|
|
|
|