
    im                         S SK r S SKrS SKrS SKrS SKrSSKJr  SSKJr  SSKJr  \R                  " S5      r
 " S S\R                  5      rg)	    N   )base_client)
exceptions)packetzsocketio.clientc                       \ rS rSrSrS r0 SSSSSSS4S	 jrS
 rS S jrS!S jr	S"S jr
S rS rS rS#S jrS rS rS rS rS rS rS rS rS rS rS rS rS rSrg)$AsyncClient   a  A Socket.IO client for asyncio.

This class implements a fully compliant Socket.IO web client with support
for websocket and long-polling transports.

:param reconnection: ``True`` if the client should automatically attempt to
                     reconnect to the server after an interruption, or
                     ``False`` to not reconnect. The default is ``True``.
:param reconnection_attempts: How many reconnection attempts to issue
                              before giving up, or 0 for infinite attempts.
                              The default is 0.
:param reconnection_delay: How long to wait in seconds before the first
                           reconnection attempt. Each successive attempt
                           doubles this delay.
:param reconnection_delay_max: The maximum delay between reconnection
                               attempts.
:param randomization_factor: Randomization amount for each delay between
                             reconnection attempts. The default is 0.5,
                             which means that each delay is randomly
                             adjusted by +/- 50%.
:param logger: To enable logging set to ``True`` or pass a logger object to
               use. To disable logging set to ``False``. The default is
               ``False``. Note that fatal errors are logged even when
               ``logger`` is ``False``.
:param json: An alternative JSON module to use for encoding and decoding
             packets. Custom json modules must have ``dumps`` and ``loads``
             functions that are compatible with the standard library
             versions. This is a process-wide setting, all instantiated
             servers and clients must use the same JSON module.
:param handle_sigint: Set to ``True`` to automatically handle disconnection
                      when the process is interrupted, or to ``False`` to
                      leave interrupt handling to the calling application.
                      Interrupt handling can only be enabled when the
                      client instance is created in the main thread.

The Engine.IO configuration supports the following settings:

:param request_timeout: A timeout in seconds for requests. The default is
                        5 seconds.
:param http_session: an initialized ``aiohttp.ClientSession`` object to be
                     used when sending requests to the server. Use it if
                     you need to add special client options such as proxy
                     servers, SSL certificates, custom CA bundle, etc.
:param ssl_verify: ``True`` to verify SSL certificates, or ``False`` to
                   skip SSL certificate verification, allowing
                   connections to servers with self signed certificates.
                   The default is ``True``.
:param websocket_extra_options: Dictionary containing additional keyword
                                arguments passed to
                                ``websocket.create_connection()``.
:param engineio_logger: To enable Engine.IO logging set to ``True`` or pass
                        a logger object to use. To disable logging set to
                        ``False``. The default is ``False``. Note that
                        fatal errors are logged even when
                        ``engineio_logger`` is ``False``.
c                     g)NT selfs    R/home/admin/cozy_coffee/venv/lib/python3.13/site-packages/socketio/async_client.pyis_asyncio_basedAsyncClient.is_asyncio_basedH   s        Nz	socket.ioTr   Fc
           	        #    U R                   (       a  [        R                  " S5      eXl        X l        X0l        X@l        XPl        X`l        Uc  [        [        U R                  R                  5       5      R                  [        U R                  R                  5       5      5      5      nSU;   a  UR                  S5        [!        U5      S:X  a  S/nO[#        U[$        5      (       a  U/nXPl        0 U l        / U l        U R*                  c   U R,                  R/                  5       U l        OU R*                  R1                  5         U R3                  U R                  5      I Sh  vN n
U R3                  U R                  5      I Sh  vN n U R,                  R5                  XUUS9I Sh  vN   U(       Ga    [@        RB                  " U R*                  RE                  5       U5      I Sh  vN   U R*                  R1                  5         [!        U R&                  5      [!        U R(                  5      -   [!        U R                  5      :X  a  OM  [        U R&                  5      [        U R                  5      :w  aJ  U RI                  5       I Sh  vN   [        R                  " SSRK                  U R(                  5      -   5      eS
U l         g GNj GNJ GN)! [6        R                  R                   a  nU R                   HT  nU R9                  SU[!        UR:                  5      S:  a  UR:                  S   OUR:                  S   5      I Sh  vN    MV     U	(       a8  U R=                  5       I Sh  vN    U R,                  R>                  S	:X  a   SnAg[        R                  " UR:                  S   5      UeSnAff = f GN! [@        RF                   a     GNf = f GNS7f)a&	  Connect to a Socket.IO server.

:param url: The URL of the Socket.IO server. It can include custom
            query string parameters if required by the server. If a
            function is provided, the client will invoke it to obtain
            the URL each time a connection or reconnection is
            attempted.
:param headers: A dictionary with custom headers to send with the
                connection request. If a function is provided, the
                client will invoke it to obtain the headers dictionary
                each time a connection or reconnection is attempted.
:param auth: Authentication data passed to the server with the
             connection request, normally a dictionary with one or
             more string key/value pairs. If a function is provided,
             the client will invoke it to obtain the authentication
             data each time a connection or reconnection is attempted.
:param transports: The list of allowed transports. Valid transports
                   are ``'polling'`` and ``'websocket'``. If not
                   given, the polling transport is connected first,
                   then an upgrade to websocket is attempted.
:param namespaces: The namespaces to connect as a string or list of
                   strings. If not given, the namespaces that have
                   registered event handlers are connected.
:param socketio_path: The endpoint where the Socket.IO server is
                      installed. The default value is appropriate for
                      most cases.
:param wait: if set to ``True`` (the default) the call only returns
             when all the namespaces are connected. If set to
             ``False``, the call returns as soon as the Engine.IO
             transport is connected, and the namespaces will connect
             in the background.
:param wait_timeout: How long the client should wait for the
                     connection. The default is 1 second. This
                     argument is only considered when ``wait`` is set
                     to ``True``.
:param retry: Apply the reconnection logic if the initial connection
              attempt fails. The default is ``False``.

Note: this method is a coroutine.

Example usage::

    sio = socketio.AsyncClient()
    await sio.connect('http://localhost:5000')
zAlready connectedN*r   /)headers
transportsengineio_pathconnect_errorr   	connectedTz*One or more namespaces failed to connect: z, )&r   r   ConnectionErrorconnection_urlconnection_headersconnection_authconnection_transportsconnection_namespacessocketio_pathlistsethandlerskeysunionnamespace_handlersremovelen
isinstancestr
namespacesfailed_namespaces_connect_eventeiocreate_eventclear_get_real_valueconnectengineio_trigger_eventargs_handle_reconnectstateasynciowait_forwaitTimeoutError
disconnectjoin)r   urlr   authr   r+   r    r:   wait_timeoutretryreal_urlreal_headersexcns                 r   r2   AsyncClient.connectK   sH    ` >>,,-@AA!")#%/"%/"*c$--"4"4"67==D++00235 6Jj !!#&:!#!U

C(($J%/"!#&"&(("7"7"9D%%'--d.A.ABB!11$2I2IJJ	C((""8.81> # @ @ @ 	!**4+>+>+C+C+E+79 9 9''--/4??+c$2H2H.II : :;<  4??#s4+E+E'FFoo''' 00@ii 6 6789 9 E CJ@ ""22 		C//))#Q#&sxx=1#4CHHQK#((1+G G G 0 ,,...88>>[0,,SXXa[9sB		C9 ''  (s   E&O)(K)"O)KO)K /K0K 4O)=3O 0O1A O O)O ?O)O&?O)O)K O9AO M#O 7M:8O O)$O  OO)O O#O)"O##O)c                 L  #     U R                   R                  5       I Sh  vN   U R                  S5      I Sh  vN   U R                  (       d  U R                   R                  S:X  a  Mi  gU R                  I Sh  vN   U R                   R                  S:w  a  gM   N| Ne N%7f)zWait until the connection with the server ends.

Client applications can use this function to block the main thread
during the life of the connection.

Note: this method is a coroutine.
Nr   r   )r.   r:   sleep_reconnect_taskr7   r   s    r   r:   AsyncClient.wait   s      ((--/!!**Q-''88>>[0&&&&xx~~, ! 's2   B$BB$B AB$<B"="B$ B$"B$c           	        #    U=(       d    SnX0R                   ;  a  [        R                  " US-   5      eU R                  R	                  SX5        Ub  U R                  X45      nOSn[        U[        5      (       a  [        U5      nO	Ub  U/nO/ nU R                  U R                  [        R                  X1/U-   US95      I Sh  vN   g N7f)a  Emit a custom event to the server.

:param event: The event name. It can be any string. The event names
              ``'connect'``, ``'message'`` and ``'disconnect'`` are
              reserved and should not be used.
:param data: The data to send to the server. Data can be of
             type ``str``, ``bytes``, ``list`` or ``dict``. To send
             multiple arguments, use a tuple where each element is of
             one of the types indicated above.
:param namespace: The Socket.IO namespace for the event. If this
                  argument is omitted the event is emitted to the
                  default namespace.
:param callback: If given, this function will be called to acknowledge
                 the server has received the message. The arguments
                 that will be passed to the function are those provided
                 by the server.

Note: this method is not designed to be used concurrently. If multiple
tasks are emitting at the same time on the same client connection, then
messages composed of multiple packets may end up being sent in an
incorrect sequence. Use standard concurrency solutions (such as a Lock
object) to prevent this situation.

Note 2: this method is a coroutine.
r   z is not a connected namespace.zEmitting event "%s" [%s]N)	namespacedataid)r+   r   BadNamespaceErrorloggerinfo_generate_ack_idr)   tupler!   _send_packetpacket_classr   EVENT)r   eventrM   rL   callbackrN   s         r   emitAsyncClient.emit   s     4 $	OO+..<<> >3UF&&y;BB dE"":D6DD 1 1LLIGdNr !2 !K L 	L 	Ls   CCC	Cc                 B   #    U R                  SXUS9I Sh  vN   g N7f)a;  Send a message to the server.

This function emits an event with the name ``'message'``. Use
:func:`emit` to issue custom event names.

:param data: The data to send to the server. Data can be of
             type ``str``, ``bytes``, ``list`` or ``dict``. To send
             multiple arguments, use a tuple where each element is of
             one of the types indicated above.
:param namespace: The Socket.IO namespace for the event. If this
                  argument is omitted the event is emitted to the
                  default namespace.
:param callback: If given, this function will be called to acknowledge
                 the server has received the message. The arguments
                 that will be passed to the function are those provided
                 by the server.

Note: this method is a coroutine.
messagerM   rL   rX   N)rY   )r   rM   rL   rX   s       r   sendAsyncClient.send   s)     ( ii	!)  + 	+ 	+s   c                   ^^#    U R                   R                  5       m/ mUU4S jnU R                  XUUS9I Sh  vN    [        R                  " TR                  5       U5      I Sh  vN   [        TS   5      S:  a  TS   $ [        TS   5      S:X  a  TS   S   $ S$  Ne N9! [        R                   a    [        R                  " 5       Sef = f7f)a  Emit a custom event to the server and wait for the response.

This method issues an emit with a callback and waits for the callback
to be invoked before returning. If the callback isn't invoked before
the timeout, then a ``TimeoutError`` exception is raised. If the
Socket.IO connection drops during the wait, this method still waits
until the specified timeout.

:param event: The event name. It can be any string. The event names
              ``'connect'``, ``'message'`` and ``'disconnect'`` are
              reserved and should not be used.
:param data: The data to send to the server. Data can be of
             type ``str``, ``bytes``, ``list`` or ``dict``. To send
             multiple arguments, use a tuple where each element is of
             one of the types indicated above.
:param namespace: The Socket.IO namespace for the event. If this
                  argument is omitted the event is emitted to the
                  default namespace.
:param timeout: The waiting timeout. If the timeout is reached before
                the server acknowledges the event, then a
                ``TimeoutError`` exception is raised.

Note: this method is not designed to be used concurrently. If multiple
tasks are emitting at the same time on the same client connection, then
messages composed of multiple packets may end up being sent in an
incorrect sequence. Use standard concurrency solutions (such as a Lock
object) to prevent this situation.

Note 2: this method is a coroutine.
c                  H   > TR                  U 5        TR                  5         g N)appendr"   )r5   callback_argscallback_events    r   event_callback(AsyncClient.call.<locals>.event_callback4  s      & r   r]   Nr   r   )	r.   r/   rY   r8   r9   r:   r;   r   r(   )r   rW   rM   rL   timeoutrf   rd   re   s         @@r   callAsyncClient.call  s     > ..0	! iiI!/  1 	1 	1	6"">#6#6#8'BBB $'}Q'7#81#<}Q 	(+M!,<(=(Bq!!$			1 C## 	6))+5	6s9   8CB"C(B& *B$+B& /4C$B& &+CCc                    #    U R                    H8  nU R                  U R                  [        R                  US95      I Sh  vN   M:     U R
                  R                  5       I Sh  vN   g N+ N7f)z?Disconnect from the server.

Note: this method is a coroutine.
rL   N)r+   rT   rU   r   
DISCONNECTr.   r<   )r   rE   s     r   r<   AsyncClient.disconnectB  sj      A##D$5$5f6G6G./ %6 %1 2 2 2 ! hh!!###2#s$   A A2A.%A2(A0)A20A2c                    #    U R                   (       a  U R                  5       I Sh  vN   gU R                  (       a/  U R                  R	                  5         U R                  I Sh  vN   gg NF N7f)a  Stop the client.

If the client is connected to a server, it is disconnected. If the
client is attempting to reconnect to server, the reconnection attempts
are stopped. If the client is not connected to a server and is not
attempting to reconnect, then this function does nothing.
N)r   r<   rI   _reconnect_abortr"   r   s    r   shutdownAsyncClient.shutdownN  sW      >>//###!!!!%%'&&&& " $ 's!   %A2A.?A2'A0(A20A2c                 B    U R                   R                  " U/UQ70 UD6$ )a  Start a background task using the appropriate async model.

This is a utility function that applications can use to start a
background task using the method that is compatible with the
selected async mode.

:param target: the target function to execute.
:param args: arguments to pass to the function.
:param kwargs: keyword arguments to pass to the function.

The return value is a ``asyncio.Task`` object.
)r.   start_background_task)r   targetr5   kwargss       r   rt   !AsyncClient.start_background_task\  s#     xx--fFtFvFFr   c                 T   #    U R                   R                  U5      I Sh  vN $  N7f)a  Sleep for the requested amount of time using the appropriate async
model.

This is a utility function that applications can use to put a task to
sleep without having to worry about using the correct call for the
selected async mode.

Note: this method is a coroutine.
N)r.   rH   )r   secondss     r   rH   AsyncClient.sleepk  s       XX^^G,,,,s   (&(c                    #    [        U5      (       d  U$ [        R                  " U5      (       a  U" 5       I Sh  vN $ U" 5       $  N7f)zLReturn the actual value, for parameters that can also be given as
callables.N)callableinspectiscoroutinefunction)r   values     r   r1   AsyncClient._get_real_valuew  s<      L&&u--= w !s   8AAAc                    #    UR                  5       n[        U[        5      (       a-  U H&  nU R                  R	                  U5      I Sh  vN   M(     gU R                  R	                  U5      I Sh  vN   g N- N7f)z&Send a Socket.IO packet to the server.N)encoder)   r!   r.   r^   )r   pktencoded_packeteps       r   rT   AsyncClient._send_packet  s]     nd++$hhmmB''' % ((--/// (/s$   A	A=A9'A=3A;4A=;A=c                 L  #    U=(       d    SnXR                   ;  a  U R                  R                  SU S35        U=(       d    0 R                  SU R                  5      U R                   U'   U R                  SUS9I S h  vN   U R                  R                  5         g g  N 7f)Nr   z
Namespace z is connectedsidr2   rl   )r+   rP   rQ   getr   r4   r-   r"   r   rL   rM   s      r   _handle_connectAsyncClient._handle_connect  s     $	OO+KKz)MBC*.*")9)9%)JDOOI&%%i9%EEE##%	 , Fs   A?B$B"!B$c                   #    U R                   (       d  g U=(       d    SnU R                  SUU R                  R                  5      I S h  vN   U R                  SU5      I S h  vN   XR                  ;   a  U R                  U	 U R                  (       d*  SU l         U R
                  R                  5       I S h  vN   g g  Nv N^ N
7f)Nr   r<   __disconnect_finalF)r   r4   reasonSERVER_DISCONNECTr+   r.   r<   )r   rL   s     r   _handle_disconnectAsyncClient._handle_disconnect  s     ~~$	!!,	"&++"?"?A 	A 	A!!"6	BBB'	*"DN((%%''' 	AB
 (s7   AC
CC$C%AC:C;CCCc           	      v  #    U=(       d    SnU R                   R                  SUS   U5        U R                  " US   U/USS  Q76 I S h  vN nUba  Uc  / nO$[        U[        5      (       a  [        U5      nOU/nU R                  U R                  [        R                  XUS95      I S h  vN   g g  Ni N7f)Nr   zReceived event "%s" [%s]r   r   )rL   rN   rM   )
rP   rQ   r4   r)   rS   r!   rT   rU   r   ACK)r   rL   rN   rM   rs        r   _handle_eventAsyncClient._handle_event  s     $	3T!WiH%%d1gyD48DD> yAu%%Aws##D$5$5

iT %6 %C D D D  EDs%   A	B9B5A"B9.B7/B97B9c                 b  #    U=(       d    SnU R                   R                  SU5        S n U R                  U   U   nU R                  U   U	 Ub/  [
        R                  " U5      (       a  U" U6 I S h  vN   g U" U6   g g ! [         a    U R                   R	                  S5         NZf = f N77f)Nr   zReceived ack [%s]z$Unknown callback received, ignoring.)rP   rQ   	callbacksKeyErrorwarningr}   r~   )r   rL   rN   rM   rX   s        r   _handle_ackAsyncClient._handle_ack  s     $	,i8	.~~i04H
 y)"-**844o%%$	    	HKK FG	H &s3   *B/B 6B/5B-6B/%B*'B/)B**B/c                   #    U=(       d    SnU R                   R                  SR                  U5      5        Uc  [        5       nO[	        U[        [
        45      (       d  U4nU R                  " SU/UQ76 I S h  vN   U R                  R                  U5        U R                  R                  5         XR                  ;   a  U R                  U	 US:X  a  0 U l        SU l        g g  Nk7f)Nr   z'Connection to namespace {} was rejectedr   F)rP   rQ   formatrS   r)   r!   r4   r,   rc   r-   r"   r+   r   r   s      r   _handle_errorAsyncClient._handle_error  s     $	BII 	<7DD5$-007D!!/9DtDDD%%i0!'	* DO"DN  	Es   A9C);C'<A,C)c                   #    U R                  XU5      u  pCU(       a4  [        R                  " U5      (       a    U" U6 I Sh  vN nU$  U" U6 nU$ U R                  X#5      u  pCU(       a  UR                  " U/UQ76 I Sh  vN $ g ND! [         a    US:X  a  U" USS 6 I Sh  vN  n U$ e f = f! [        R
                   a    Sn U$ f = f! [         a    US:X  a  U" USS 6 n U$ e f = f Nm7f)z$Invoke an application event handler.Nr<   )_get_event_handlerr}   r~   	TypeErrorr8   CancelledError_get_namespace_handlertrigger_event)r   rW   rL   r5   handlerrets         r   r4   AsyncClient._trigger_event  s3     //$G**733"$+TN2( J!4.C J 33ID ..u<t<<< 1 3$ " !L0(/cr(;";";C J "" -- C J
 !  ,%tCRy1 J  =s   7C2B
 BB
 C2C 2C2C0C2B
 
B0%B(&B0+B3 ,C2.B00B3 3C	C2CC2C-(C2+C--C2c           
        #    U R                   c  U R                  R                  5       U l         U R                   R                  5         [        R
                  R                  U 5        SnU R                  n UnUS-  nX0R                  :  a  U R                  nX0R                  S[        R                  " 5       -  S-
  -  -  nU R                  R                  SR                  U5      5        Sn [        R                  " U R                   R!                  5       U5      I S h  vN   SnU(       aG  U R                  R                  S5        U R&                   H  nU R)                  SUS	9I S h  vN   M     OUS-  n U R+                  U R,                  U R.                  U R0                  U R2                  U R&                  U R4                  SS
9I S h  vN   U R                  R                  S5        S U l         [        R
                  RA                  U 5        g  N! [        R"                   a     GN	[        R$                   a    Sn GN!f = f N N~! [8        R:                  [<        4 a     Of = fU R>                  (       aX  XR>                  :  aI  U R                  R                  S5        U R&                   H  nU R)                  SUS	9I S h  vN    M     M  GMg  7f)Nr   T   r   z1Connection failed, new attempt in {:.02f} secondsFzReconnect task abortedr   rl   )r   r?   r   r+   r    rA   zReconnection successfulz0Maximum reconnection attempts reached, giving up)!rp   r.   r/   r0   r   reconnecting_clientsrc   reconnection_delayreconnection_delay_maxrandomization_factorrandomrP   rQ   r   r8   r9   r:   r;   r   r   r4   r2   r   r   r   r   r    rI   r   r   
ValueErrorreconnection_attemptsr'   )r   attempt_countcurrent_delaydelayabortrE   s         r   r6   AsyncClient._handle_reconnect  s      ($(HH$9$9$;D!##%((//5//!EQM22233..!fmmo2E2IJJEKKCJJ E&&t'<'<'A'A'CUKKK
   !9:33A--.B89 . ; ; ; 4 QMll4#6#6+/+B+B(,(<(<.2.H.H.2.H.H151C1C). # 0 0 0   !:;'+$ 	((//5G L'' )) 
;
0 ..
;  ))!%?%??  FH33A--.B89 . ; ; ; 4 [ s   C-K02H "H#H )AK-I.K=AI II AKH I/K2IK
IKI I/,K.I//A KKKc           	      h  #    U R                   R                  S5        U R                  R                  U l        U R	                  U R
                  5      I Sh  vN =(       d    0 nU R                   H8  nU R                  U R                  [        R                  XS95      I Sh  vN   M:     g NV N7f)z&Handle the Engine.IO connection event.z Engine.IO connection establishedN)rM   rL   )rP   rQ   r.   r   r1   r   r   rT   rU   r   CONNECT)r   	real_authrE   s      r   _handle_eio_connectAsyncClient._handle_eio_connect*  s     ;<88<<..t/C/CDDJ	++A##D$5$5Y %6 %= > > > , E>s%   AB2B.AB2$B0%
B20B2c                   #    U R                   (       a  U R                   nUR                  U5      (       a  SU l         UR                  [        R                  :X  a:  U R                  UR                  UR                  UR                  5      I Sh  vN   gU R                  UR                  UR                  UR                  5      I Sh  vN   ggU R                  US9nUR                  [        R                  :X  a/  U R                  UR                  UR                  5      I Sh  vN   gUR                  [        R                  :X  a$  U R                  UR                  5      I Sh  vN   gUR                  [        R                  :X  a:  U R                  UR                  UR                  UR                  5      I Sh  vN   gUR                  [        R                   :X  a:  U R                  UR                  UR                  UR                  5      I Sh  vN   gUR                  [        R                  :X  d  UR                  [        R"                  :X  a  X l         gUR                  [        R$                  :X  a/  U R'                  UR                  UR                  5      I Sh  vN   g[)        S5      e GN* GN GN GNZ GN N N!7f)zDispatch Engine.IO messages.N)r   zUnknown packet type.)_binary_packetadd_attachmentpacket_typer   BINARY_EVENTr   rL   rN   rM   r   rU   r   r   rm   r   rV   r   
BINARY_ACKCONNECT_ERRORr   r   )r   rM   r   s      r   _handle_eio_messageAsyncClient._handle_eio_message3  s    %%C!!$''&*#??f&9&99,,S]]CFFCHHMMM**3==#&&#((KKK ( ##4#8C&..0**3==#((CCCF$5$55--cmm<<<FLL0((IIIFJJ.&&s}}cffchhGGGF$7$77OOv'8'88&)#F$8$88((AAA !788' NK D<IG
 Bs   BKJ99K	J<
AK&J?'AK(K)AK KAKKBK(K
)K<K?KKKK
Kc                   #    U R                   R                  S5        U R                  =(       a    U R                  R                  S:H  nU R
                  (       a^  U R                   H@  nU R                  SX15      I Sh  vN   U(       a  M&  U R                  SU5      I Sh  vN   MB     0 U l        SU l        0 U l        SU l	        SU l
        U(       a3  U R                  (       d!  U R                  U R                  5      U l        ggg N Nh7f)z)Handle the Engine.IO disconnection event.zEngine.IO connection droppedr   r<   Nr   F)rP   rQ   reconnectionr.   r7   r   r+   r4   r   r   r   rI   rt   r6   )r   r   will_reconnectrE   s       r   _handle_eio_disconnect"AsyncClient._handle_eio_disconnectO  s     78**Ltxx~~/L>>__)),BBB%~--.BAFFF % !DO"DN"$"6"6#'#=#=&&$(D  #7> CFs+   A=D?D	 	DD"D#A'DDc                 "    [         R                  $ rb   )r3   r   r   s    r   _engineio_client_class"AsyncClient._engineio_client_classa  s    ###r   )r   r-   rp   rI   r   r   r   r   r   r   r   r,   r+   r   r    )NNN)NN)NN<   )r   )__name__
__module____qualname____firstlineno____doc__r   r2   r:   rY   r^   ri   r<   rq   rt   rH   r1   rT   r   r   r   r   r   r4   r6   r   r   r   r   __static_attributes__r   r   r   r   r      s    7p *,$4!%[t#$El\(,L\+..`
$'G
-0&(D  "#"!=F56n>98($$r   r   )r8   r}   loggingr   r3    r   r   r   	getLoggerdefault_logger
BaseClientr   r   r   r   <module>r      sB           ""#45S	$+(( S	$r   