+
    üg©jä7  ã                  ó°  € R t ^ RIHt ^ RIt^RIHt . RNRNRNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#Nt ! R$ R]4      t ! R% R]4      t	 ! R& R]	4      t
 ! R' R]	4      t ! R( R]4      t ! R) R	]4      t ! R* R
]4      t ! R+ R]4      t ! R, R]4      t ! R- R]4      t ! R. R]4      t ! R/ R]4      t ! R0 R]4      t ! R1 R]4      t ! R2 R]4      t ! R3 R]4      t ! R4 R]4      t ! R5 R]4      t ! R6 R]4      t ! R7 R]4      t ! R8 R]4      t ! R9 R]4      t ! R: R]4      t ! R; R]4      t ! R< R]4      t  ! R= R] 4      t! ! R> R] 4      t" ! R? R] 4      t# ! R@ R ]4      t$ ! RA R!]4      t% ! RB R"]]&4      t' ! RC R#]](4      t)^RDI*H+t+H,t, ]! ]-! 4       RERFRGRFRHRFRIRF/RJ7       R# )Ka/  
:mod:`websockets.exceptions` defines the following hierarchy of exceptions.

* :exc:`WebSocketException`
    * :exc:`ConnectionClosed`
        * :exc:`ConnectionClosedOK`
        * :exc:`ConnectionClosedError`
    * :exc:`InvalidURI`
    * :exc:`InvalidProxy`
    * :exc:`InvalidHandshake`
        * :exc:`SecurityError`
            * :exc:`RequestLineTooLong`
            * :exc:`StatusLineTooLong`
            * :exc:`HeaderLineTooLong`
            * :exc:`TooManyHeaders`
        * :exc:`ProxyError`
            * :exc:`InvalidProxyMessage`
            * :exc:`InvalidProxyStatus`
        * :exc:`InvalidMessage`
        * :exc:`InvalidMethod`
        * :exc:`InvalidProtocol`
        * :exc:`InvalidStatus`
        * :exc:`InvalidStatusCode` (legacy)
        * :exc:`InvalidHeader`
            * :exc:`InvalidHeaderFormat`
            * :exc:`InvalidHeaderValue`
            * :exc:`InvalidOrigin`
            * :exc:`InvalidUpgrade`
        * :exc:`NegotiationError`
            * :exc:`DuplicateParameter`
            * :exc:`InvalidParameterName`
            * :exc:`InvalidParameterValue`
        * :exc:`AbortHandshake` (legacy)
        * :exc:`RedirectHandshake` (legacy)
    * :exc:`ProtocolError` (Sans-I/O)
    * :exc:`PayloadTooBig` (Sans-I/O)
    * :exc:`InvalidState` (Sans-I/O)
    * :exc:`ConcurrencyError`

)ÚannotationsN)Úlazy_importÚWebSocketExceptionÚConnectionClosedÚConnectionClosedOKÚConnectionClosedErrorÚ
InvalidURIÚInvalidProxyÚInvalidHandshakeÚSecurityErrorÚRequestLineTooLongÚStatusLineTooLongÚHeaderLineTooLongÚTooManyHeadersÚ
ProxyErrorÚInvalidProxyMessageÚInvalidProxyStatusÚInvalidMessageÚInvalidMethodÚInvalidProtocolÚInvalidStatusÚInvalidHeaderÚInvalidHeaderFormatÚInvalidHeaderValueÚInvalidOriginÚInvalidUpgradeÚNegotiationErrorÚDuplicateParameterÚInvalidParameterNameÚInvalidParameterValueÚProtocolErrorÚPayloadTooBigÚInvalidStateÚConcurrencyErrorc                  ó   € ] tR t^UtRtRtR# )r   z7
Base class for all exceptions defined by websockets.

© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r%   ó    ÚP/var/www/html/bestweb/venv/lib/python3.14/site-packages/websockets/exceptions.pyr   r   U   ó   † õr-   c                  ób   € ] tR t^\tRtRR R lltR R lt]R R l4       t]R	 R
 l4       t	Rt
R# )r   aê  
Raised when trying to interact with a closed connection.

Attributes:
    rcvd: If a close frame was received, its code and reason are available
        in ``rcvd.code`` and ``rcvd.reason``.
    sent: If a close frame was sent, its code and reason are available
        in ``sent.code`` and ``sent.reason``.
    rcvd_then_sent: If close frames were received and sent, this attribute
        tells in which order this happened, from the perspective of this
        side of the connection.

Nc               ó(   € V ^8„  d   QhRRRRRRRR/# )é   Úrcvdzframes.Close | NoneÚsentÚrcvd_then_sentzbool | NoneÚreturnÚNoner%   )Úformats   "r.   Ú__annotate__ÚConnectionClosed.__annotate__k   s8   € ÷ 	Yñ 	Yà!ð	Yð "ð	Yð $ð		Yð
 
ñ	Yr-   c                	ó˜   € Wn         W n        W0n        V P                  R J V P                   R J ;'       g    V P                  R J 8X  g   Q hR # ©N©r3   r4   r5   )Úselfr3   r4   r5   s   &&&&r.   Ú__init__ÚConnectionClosed.__init__k   sH   € ð Œ	ØŒ	Ø,ÔØ×#Ñ# tÐ+°·±¸dÐ1B×1WÐ1WÀdÇiÁiÐSWÐFWÔXÐXÒXr-   c               ó   € V ^8„  d   QhRR/# ©r2   r6   Ústrr%   )r8   s   "r.   r9   r:   v   s   € ÷ Jñ J˜ñ Jr-   c                	ó.  € V P                   f!   V P                  f   R# RV P                   R2# V P                  f   RV P                    R2# V P                  '       d   RV P                    RV P                   2# RV P                   RV P                    2# )Nzno close frame received or sentzsent z; no close frame receivedz	received z; no close frame sentz; then sent z; then received r=   ©r>   s   &r.   Ú__str__ÚConnectionClosed.__str__v   sŽ   € Ø�9‰9ÒØ�y‰yÒ Ù8à˜tŸy™y˜kÐ)BÐCÐCà�y‰yÒ Ø" 4§9¡9 +Ð-BÐCÐCà×&×&Ð&Ø& t§y¡y k°¸d¿i¹i¸[ÐIÐIà" 4§9¡9 +Ð-=¸d¿i¹i¸[ÐIÐIr-   c               ó   € V ^8„  d   QhRR/# )r2   r6   Úintr%   )r8   s   "r.   r9   r:   ˆ   s   € ÷ ñ �cñ r-   c                	ó´   € \         P                  ! R \        4       V P                  f   \        P
                  P                  # V P                  P                  # )zZConnectionClosed.code is deprecated; use Protocol.close_code or ConnectionClosed.rcvd.code)ÚwarningsÚwarnÚDeprecationWarningr3   ÚframesÚ	CloseCodeÚABNORMAL_CLOSUREÚcoderE   s   &r.   rQ   ÚConnectionClosed.code‡   sC   € ä�ŠðDäô	
ð
 �9‰9ÒÜ×#Ñ#×4Ñ4Ð4Ø�y‰y�~‰~Ðr-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r:   “   s   € ÷  ñ  ˜ñ  r-   c                	ó„   € \         P                  ! R \        4       V P                  f   R# V P                  P                  # )z`ConnectionClosed.reason is deprecated; use Protocol.close_reason or ConnectionClosed.rcvd.reasonÚ )rK   rL   rM   r3   ÚreasonrE   s   &r.   rV   ÚConnectionClosed.reason’   s6   € ä�ŠðHäô	
ð
 �9‰9ÒÙØ�y‰y×ÑÐr-   )r3   r5   r4   r<   )r'   r(   r)   r*   r+   r?   rF   ÚpropertyrQ   rV   r,   r%   r-   r.   r   r   \   s;   † ñ÷	YõJð" ôó ðð ô ó ô r-   c                  ó   € ] tR t^žtRtRtR# )r   z©
Like :exc:`ConnectionClosed`, when the connection terminated properly.

A close code with code 1000 (OK) or 1001 (going away) or without a code was
received and sent.

r%   Nr&   r%   r-   r.   r   r   ž   ó   † õr-   c                  ó   € ] tR t^¨tRtRtR# )r   zÜ
Like :exc:`ConnectionClosed`, when the connection terminated with an error.

A close frame with a code other than 1000 (OK) or 1001 (going away) was
received or sent, or the closing handshake didn't complete properly.

r%   Nr&   r%   r-   r.   r   r   ¨   rZ   r-   c                  ó2   € ] tR t^²tRtR R ltR R ltRtR# )r   zD
Raised when connecting to a URI that isn't a valid WebSocket URI.

c               ó$   € V ^8„  d   QhRRRRRR/# )r2   ÚurirC   Úmsgr6   r7   r%   )r8   s   "r.   r9   ÚInvalidURI.__annotate__¸   s!   € ÷ ñ ˜Cð  cð ¨dñ r-   c                	ó   € Wn         W n        R # r<   ©r^   r_   )r>   r^   r_   s   &&&r.   r?   ÚInvalidURI.__init__¸   s   € ØŒØŽr-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r`   ¼   s   € ÷ ;ñ ;˜ñ ;r-   c                	ó8   € V P                    R V P                   2# )z isn't a valid URI: rb   rE   s   &r.   rF   ÚInvalidURI.__str__¼   s   € Ø—(‘(�Ð/°·±¨zÐ:Ð:r-   )r_   r^   N©r'   r(   r)   r*   r+   r?   rF   r,   r%   r-   r.   r   r   ²   s   † ñõ
÷;ñ ;r-   c                  ó2   € ] tR t^ÀtRtR R ltR R ltRtR# )r	   z7
Raised when connecting via a proxy that isn't valid.

c               ó$   € V ^8„  d   QhRRRRRR/# )r2   ÚproxyrC   r_   r6   r7   r%   )r8   s   "r.   r9   ÚInvalidProxy.__annotate__Æ   s!   € ÷ ñ ˜cð ¨ð °ñ r-   c                	ó   € Wn         W n        R # r<   ©rj   r_   )r>   rj   r_   s   &&&r.   r?   ÚInvalidProxy.__init__Æ   s   € ØŒ
ØŽr-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   rk   Ê   s   € ÷ ?ñ ?˜ñ ?r-   c                	ó8   € V P                    R V P                   2# )z isn't a valid proxy: rm   rE   s   &r.   rF   ÚInvalidProxy.__str__Ê   s   € Ø—*‘*�Ð3°D·H±H°:Ð>Ð>r-   )r_   rj   Nrg   r%   r-   r.   r	   r	   À   s   † ñõ
÷?ñ ?r-   c                  ó   € ] tR t^ÎtRtRtR# )r
   zE
Base class for exceptions raised when the opening handshake fails.

r%   Nr&   r%   r-   r.   r
   r
   Î   r/   r-   c                  ó   € ] tR t^ÕtRtRtR# )r   z¥
Raised when a handshake request or response breaks a security rule.

Security limits can be configured with :doc:`environment variables
<../reference/variables>`.

r%   Nr&   r%   r-   r.   r   r   Õ   rZ   r-   c                  ó   € ] tR t^ßtRtRtR# )r   zC
Raised when the request line of a handshake request is too long.

r%   Nr&   r%   r-   r.   r   r   ß   r/   r-   c                  ó   € ] tR t^ætRtRtR# )r   zC
Raised when the status line of a handshake response is too long.

r%   Nr&   r%   r-   r.   r   r   æ   r/   r-   c                  ó   € ] tR t^ítRtRtR# )r   zL
Raised when a header line of a handshake request or response is too long.

r%   Nr&   r%   r-   r.   r   r   í   r/   r-   c                  ó   € ] tR t^ôtRtRtR# )r   zD
Raised when a handshake request or response has too many headers.

r%   Nr&   r%   r-   r.   r   r   ô   r/   r-   c                  ó   € ] tR t^ûtRtRtR# )r   z-
Raised when failing to connect to a proxy.

r%   Nr&   r%   r-   r.   r   r   û   r/   r-   c                  ó   € ] tR tRtRtRtR# )r   i  z3
Raised when an HTTP proxy response is malformed.

r%   Nr&   r%   r-   r.   r   r     r/   r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i	  z4
Raised when an HTTP proxy rejects the connection.

c               ó    € V ^8„  d   QhRRRR/# ©r2   Úresponsezhttp11.Responser6   r7   r%   )r8   s   "r.   r9   ÚInvalidProxyStatus.__annotate__  ó   € ÷ !ñ ! ð !°Tñ !r-   c                	ó   € Wn         R # r<   ©r}   ©r>   r}   s   &&r.   r?   ÚInvalidProxyStatus.__init__  ó   € Ø Žr-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r~     s   € ÷ Pñ P˜ñ Pr-   c                	ó6   € R V P                   P                  R 2# )z proxy rejected connection: HTTP Úd©r}   Ústatus_coderE   s   &r.   rF   ÚInvalidProxyStatus.__str__  s   € Ø1°$·-±-×2KÑ2KÈAÐ1NÐOÐOr-   r�   Nrg   r%   r-   r.   r   r   	  s   † ñõ
!÷Pñ Pr-   c                  ó   € ] tR tRtRtRtR# )r   i  z<
Raised when a handshake request or response is malformed.

r%   Nr&   r%   r-   r.   r   r     r/   r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i  z8
Raised when a handshake request doesn't use HTTP GET.

c               ó    € V ^8„  d   QhRRRR/# )r2   ÚmethodrC   r6   r7   r%   )r8   s   "r.   r9   ÚInvalidMethod.__annotate__#  s   € ÷ ñ ˜sð  tñ r-   c                	ó   € Wn         R # r<   ©rŽ   )r>   rŽ   s   &&r.   r?   ÚInvalidMethod.__init__#  s   € ØŽr-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r�   &  s   € ÷ 9ñ 9˜ñ 9r-   c                	ó    € R V P                    2# )zunsupported HTTP method: r‘   rE   s   &r.   rF   ÚInvalidMethod.__str__&  s   € Ø*¨4¯;©;¨-Ð8Ð8r-   r‘   Nrg   r%   r-   r.   r   r     s   † ñõ
÷9ñ 9r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i*  z8
Raised when a handshake request doesn't use HTTP/1.1.

c               ó    € V ^8„  d   QhRRRR/# )r2   ÚprotocolrC   r6   r7   r%   )r8   s   "r.   r9   ÚInvalidProtocol.__annotate__0  s   € ÷ !ñ ! ð !¨ñ !r-   c                	ó   € Wn         R # r<   ©r˜   )r>   r˜   s   &&r.   r?   ÚInvalidProtocol.__init__0  r„   r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r™   3  s   € ÷ <ñ <˜ñ <r-   c                	ó    € R V P                    2# )zunsupported HTTP version: r›   rE   s   &r.   rF   ÚInvalidProtocol.__str__3  s   € Ø+¨D¯M©M¨?Ð;Ð;r-   r›   Nrg   r%   r-   r.   r   r   *  s   † ñõ
!÷<ñ <r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i7  zB
Raised when a handshake response rejects the WebSocket upgrade.

c               ó    € V ^8„  d   QhRRRR/# r|   r%   )r8   s   "r.   r9   ÚInvalidStatus.__annotate__=  r   r-   c                	ó   € Wn         R # r<   r�   r‚   s   &&r.   r?   ÚInvalidStatus.__init__=  r„   r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r¢   @  s   € ÷ 
ñ 
˜ñ 
r-   c                	ó6   € R V P                   P                  R 2# )z+server rejected WebSocket connection: HTTP r‡   rˆ   rE   s   &r.   rF   ÚInvalidStatus.__str__@  s   € à9¸$¿-¹-×:SÑ:SÐTUÐ9VÐWð	
r-   r�   Nrg   r%   r-   r.   r   r   7  s   † ñõ
!÷
ñ 
r-   c                  ó6   € ] tR tRtRtR	R R lltR R ltRtR# )
r   iF  zC
Raised when an HTTP header doesn't have a valid format or value.

Nc               ó$   € V ^8„  d   QhRRRRRR/# ©r2   ÚnamerC   Úvalueú
str | Noner6   r7   r%   )r8   s   "r.   r9   ÚInvalidHeader.__annotate__L  s!   € ÷ ñ ˜Sð ¨ð ¸tñ r-   c                	ó   € Wn         W n        R # r<   ©r«   r¬   ©r>   r«   r¬   s   &&&r.   r?   ÚInvalidHeader.__init__L  ó   € ØŒ	ØŽ
r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   r®   P  s   € ÷ ?ñ ?˜ñ ?r-   c                	ó¸   € V P                   f   RV P                   R2# V P                   R8X  d   RV P                   R2# RV P                   RV P                    2# )Nzmissing z headerrU   zempty zinvalid z	 header: ©r¬   r«   rE   s   &r.   rF   ÚInvalidHeader.__str__P  sY   € Ø�:‰:ÒØ˜dŸi™i˜[¨Ð0Ð0Ø�Z‰Z˜2ÔØ˜DŸI™I˜; gÐ.Ð.à˜dŸi™i˜[¨	°$·*±*°Ð>Ð>r-   r°   r<   rg   r%   r-   r.   r   r   F  s   † ñ÷
÷?ñ ?r-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   iY  zt
Raised when an HTTP header cannot be parsed.

The format of the header doesn't match the grammar for that header.

c          
     ó,   € V ^8„  d   QhRRRRRRRRRR/# )	r2   r«   rC   ÚerrorÚheaderÚposrI   r6   r7   r%   )r8   s   "r.   r9   Ú InvalidHeaderFormat.__annotate__a  s6   € ÷ @ñ @˜Sð @¨ð @°cð @Àð @Èñ @r-   c                	ó6   <€ \         SV `  W R V RV 24       R# )z at z in N©Úsuperr?   )r>   r«   rº   r»   r¼   Ú	__class__s   &&&&&€r.   r?   ÚInvalidHeaderFormat.__init__a  s!   ø€ Ü‰Ñ˜ ¨¨S¨E°°f°XÐ>Ö?r-   r%   ©r'   r(   r)   r*   r+   r?   r,   Ú__classcell__©rÁ   s   @r.   r   r   Y  s   ø† ñ÷@ö @r-   c                  ó   € ] tR tRtRtRtR# )r   ie  zu
Raised when an HTTP header has a wrong value.

The format of the header is correct but the value isn't acceptable.

r%   Nr&   r%   r-   r.   r   r   e  s   † õr-   c                  ó2   a € ] tR tRtRtR V 3R lltRtV ;t# )r   in  z<
Raised when the Origin header in a request isn't allowed.

c               ó    € V ^8„  d   QhRRRR/# )r2   Úoriginr­   r6   r7   r%   )r8   s   "r.   r9   ÚInvalidOrigin.__annotate__t  s   € ÷ +ñ +˜zð +¨dñ +r-   c                	ó(   <€ \         SV `  R V4       R# )ÚOriginNr¿   )r>   rÉ   rÁ   s   &&€r.   r?   ÚInvalidOrigin.__init__t  s   ø€ Ü‰Ñ˜ 6Ö*r-   r%   rÃ   rÅ   s   @r.   r   r   n  s   ø† ñ÷
+ö +r-   c                  ó   € ] tR tRtRtRtR# )r   ix  z>
Raised when the Upgrade or Connection header isn't correct.

r%   Nr&   r%   r-   r.   r   r   x  r/   r-   c                  ó   € ] tR tRtRtRtR# )r   i  z?
Raised when negotiating an extension or a subprotocol fails.

r%   Nr&   r%   r-   r.   r   r     r/   r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i†  zC
Raised when a parameter name is repeated in an extension header.

c               ó    € V ^8„  d   QhRRRR/# ©r2   r«   rC   r6   r7   r%   )r8   s   "r.   r9   ÚDuplicateParameter.__annotate__Œ  ó   € ÷ ñ ˜Sð  Tñ r-   c                	ó   € Wn         R # r<   ©r«   ©r>   r«   s   &&r.   r?   ÚDuplicateParameter.__init__Œ  ó   € ØŽ	r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   rÓ   �  s   € ÷ 3ñ 3˜ñ 3r-   c                	ó    € R V P                    2# )zduplicate parameter: rÖ   rE   s   &r.   rF   ÚDuplicateParameter.__str__�  s   € Ø& t§y¡y kÐ2Ð2r-   rÖ   Nrg   r%   r-   r.   r   r   †  s   † ñõ
÷3ñ 3r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i“  zB
Raised when a parameter name in an extension header is invalid.

c               ó    € V ^8„  d   QhRRRR/# rÒ   r%   )r8   s   "r.   r9   Ú!InvalidParameterName.__annotate__™  rÔ   r-   c                	ó   € Wn         R # r<   rÖ   r×   s   &&r.   r?   ÚInvalidParameterName.__init__™  rÙ   r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   rß   œ  s   € ÷ 6ñ 6˜ñ 6r-   c                	ó    € R V P                    2# )zinvalid parameter name: rÖ   rE   s   &r.   rF   ÚInvalidParameterName.__str__œ  s   € Ø)¨$¯)©)¨Ð5Ð5r-   rÖ   Nrg   r%   r-   r.   r   r   “  s   † ñõ
÷6ñ 6r-   c                  ó2   € ] tR tRtRtR R ltR R ltRtR# )	r   i   zC
Raised when a parameter value in an extension header is invalid.

c               ó$   € V ^8„  d   QhRRRRRR/# rª   r%   )r8   s   "r.   r9   Ú"InvalidParameterValue.__annotate__¦  s!   € ÷ ñ ˜Sð ¨ð ¸ñ r-   c                	ó   € Wn         W n        R # r<   r°   r±   s   &&&r.   r?   ÚInvalidParameterValue.__init__¦  r³   r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   rç   ª  s   € ÷ Lñ L˜ñ Lr-   c                	ó´   € V P                   f   RV P                   2# V P                   R8X  d   RV P                   2# RV P                   RV P                    2# )Nzmissing value for parameter rU   zempty value for parameter zinvalid value for parameter z: r¶   rE   s   &r.   rF   ÚInvalidParameterValue.__str__ª  sU   € Ø�:‰:ÒØ1°$·)±)°Ð=Ð=Ø�Z‰Z˜2ÔØ/°·	±	¨{Ð;Ð;à1°$·)±)°¸B¸t¿z¹z¸lÐKÐKr-   r°   Nrg   r%   r-   r.   r   r      s   † ñõ
÷Lñ Lr-   c                  ó   € ] tR tRtRtRtR# )r    i³  zð
Raised when receiving or sending a frame that breaks the protocol.

The Sans-I/O implementation raises this exception when:

* receiving or sending a frame that contains invalid data;
* receiving or sending an invalid sequence of frames.

r%   Nr&   r%   r-   r.   r    r    ³  s   † õr-   c                  óB   € ] tR tRtRtRR R lltR R ltR R	 ltR
tR# )r!   i¿  a=  
Raised when parsing a frame with a payload that exceeds the maximum size.

The Sans-I/O layer uses this exception internally. It doesn't bubble up to
the I/O layer.

The :meth:`~websockets.extensions.Extension.decode` method of extensions
must raise :exc:`PayloadTooBig` if decoding a frame would exceed the limit.

Nc               ó(   € V ^8„  d   QhRRRRRRRR/# )r2   Úsize_or_messagezint | None | strÚmax_sizeú
int | NoneÚcurrent_sizer6   r7   r%   )r8   s   "r.   r9   ÚPayloadTooBig.__annotate__Ë  s2   € ÷ 0ñ 0à)ð0ð ð0ð !ð	0ð
 
ñ0r-   c                	óò   € \        V\        4      '       d0   Ve   Q hVe   Q h\        P                  ! R\        4       Wn        R # R V n        Wn        Vf   Q hW n        R V n        V P                  V4       R # )NzMPayloadTooBig(message) is deprecated; change to PayloadTooBig(size, max_size))
Ú
isinstancerC   rK   rL   rM   ÚmessageÚsizerñ   ró   Úset_current_size)r>   rð   rñ   ró   s   &&&&r.   r?   ÚPayloadTooBig.__init__Ë  sw   € ô �o¤s×+Ò+ØÒ#Ð#Ð#ØÒ'Ð'Ð'Ü�MŠMð:ä"ôð
 (7ŽLàˆDŒLØ$3ŒIØÒ'Ð'Ð'Ø!)ŒMØ,0ˆDÔØ×!Ñ! ,Ö/r-   c               ó   € V ^8„  d   QhRR/# rB   r%   )r8   s   "r.   r9   rô   â  s   € ÷ 
ñ 
˜ñ 
r-   c                	ó   € V P                   e   V P                   # RpV P                  e   VRV P                   R2,          pV P                  e   VRV P                   R2,          pVRV P                   R2,          pV# )Nzframe zwith z bytes zafter reading zexceeds limit of z bytes)r÷   rø   ró   rñ   )r>   r÷   s   & r.   rF   ÚPayloadTooBig.__str__â  s   € Ø�<‰<Ò#Ø—<‘<ÐàˆGØ�y‰yÒ$Ø˜U 4§9¡9 +¨WÐ5Õ5�Ø× Ñ Ò,Ø˜^¨D×,=Ñ,=Ð+>¸gÐFÕF�ØÐ*¨4¯=©=¨/¸Ð@Õ@ˆGØˆNr-   c               ó    € V ^8„  d   QhRRRR/# )r2   ró   rò   r6   r7   r%   )r8   s   "r.   r9   rô   î  s   € ÷ -ñ -¨Zð -¸Dñ -r-   c                	óp   € V P                   e   Q hVe"   V ;P                  V,          un        Wn         R # R # r<   )ró   rñ   )r>   ró   s   &&r.   rù   ÚPayloadTooBig.set_current_sizeî  s3   € Ø× Ñ Ò(Ð(Ð(ØÒ#Ø�MŠM˜\Õ)�MØ ,Öñ $r-   )ró   rñ   r÷   rø   )NN)	r'   r(   r)   r*   r+   r?   rF   rù   r,   r%   r-   r.   r!   r!   ¿  s   † ñ	÷0õ.
÷-ñ -r-   c                  ó   € ] tR tRtRtRtR# )r"   iõ  a~  
Raised when sending a frame is forbidden in the current state.

Specifically, the Sans-I/O layer raises this exception when:

* sending a data frame to a connection in a state other
  :attr:`~websockets.protocol.State.OPEN`;
* sending a control frame to a connection in a state other than
  :attr:`~websockets.protocol.State.OPEN` or
  :attr:`~websockets.protocol.State.CLOSING`.

r%   Nr&   r%   r-   r.   r"   r"   õ  s   † õr-   c                  ó   € ] tR tRtRtRtR# )r#   i  zÌ
Raised when receiving or sending messages concurrently.

WebSocket is a connection-oriented protocol. Reads must be serialized; so
must be writes. However, reading and writing concurrently is possible.

r%   Nr&   r%   r-   r.   r#   r#     rZ   r-   )rN   Úhttp11ÚAbortHandshakez.legacy.exceptionsÚInvalidStatusCodeÚRedirectHandshakeÚWebSocketProtocolError)Údeprecated_aliases).r+   Ú
__future__r   rK   Úimportsr   Ú__all__Ú	Exceptionr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   ÚAssertionErrorr"   ÚRuntimeErrorr#   rU   rN   r  Úglobalsr%   r-   r.   Ú<module>r     s0  ðñ'õR #ã å  ð!Øð!àð!ð ð!ð ð	!ð
 ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð ð!ð  ð!!ð" ð#!ð$ ð%!ð& ð'!ð( ð)!ð* ð+!ð, ð-!ð. ð/!ð0 ð1!ð2 ð3!ð4 ð5!ð6 ð7!ð8 ð9!ð: ð;!ð< ð=!ð> ð?!ð@ ðA!€ôH˜ô ô? Ð)ô ? ôDÐ)ô ôÐ,ô ô;Ð#ô ;ô?Ð%ô ?ôÐ)ô ôÐ$ô ô˜ô ô˜ô ô˜ô ô�]ô ôÐ!ô ô˜*ô ô
P˜ô 
PôÐ%ô ô
9Ð$ô 
9ô
<Ð&ô 
<ô
Ð$ô 
ô?Ð$ô ?ô&	@˜-ô 	@ô˜ô ô+�Mô +ô�]ô ôÐ'ô ô
3Ð)ô 
3ô
6Ð+ô 
6ôLÐ,ô Lô&	Ð&ô 	ô3-Ð&ô 3-ôlÐ% ~ô ôÐ)¨<ô ÷ ñ ÙƒIð 	Ð.ØÐ1ØÐ1Ø Ð"6ð÷	r-   