+
    i5                    x    ^ RI Ht ^ RIt^ RIt^RIHt RR.tRt]P                   ! R R4      4       t
R R	 ltR# )
    )annotationsN)
InvalidURI	parse_uriWebSocketURIz:/?#[]@!$&'()*+,;=c                      ] tR t^t$ RtR]R&   R]R&   R]R&   R]R&   R]R	&   R
tR]R&   R
tR]R&   ]R R l4       t	]R R l4       t
RtR
# )r   a  
WebSocket URI.

Attributes:
    secure: :obj:`True` for a ``wss`` URI, :obj:`False` for a ``ws`` URI.
    host: Normalized to lower case.
    port: Always set even if it's the default.
    path: May be empty.
    query: May be empty if the URI doesn't include a query component.
    username: Available when the URI contains `User Information`_.
    password: Available when the URI contains `User Information`_.

.. _User Information: https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.1

boolsecurestrhostintportpathqueryNz
str | Noneusernamepasswordc                   V ^8  d   QhRR/# )   returnr
    )formats   "U/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/websockets/uri.py__annotate__WebSocketURI.__annotate__+   s      s     c                	    V P                   '       d   V P                   pMR pV P                  '       d   VRV P                  ,           ,          pV# )/?)r   r   )selfresource_names   & r   r   WebSocketURI.resource_name*   s;    999 IIMM:::S4::--Mr   c                   V ^8  d   QhRR/# )r   r   ztuple[str, str] | Noner   )r   s   "r   r   r   5   s     . .1 .r   c                	r    V P                   f   R # V P                  f   Q hV P                   V P                  3# )N)r   r   )r   s   &r   	user_infoWebSocketURI.user_info4   s2    == }}(((t}}--r   r   )__name__
__module____qualname____firstlineno____doc____annotations__r   r   propertyr   r#   __static_attributes__r   r   r   r   r      s\      L
I
I
IJHjHj  . .r   c                    V ^8  d   QhRRRR/# )r   urir
   r   r   r   )r   s   "r   r   r   <   s     /M /M3 /M< /Mr   c           	        \         P                  P                  V 4      pVP                  R9  d   \	        V R4      hVP
                  f   \	        V R4      hVP                  R8w  d   \	        V R4      hVP                  R8H  pVP
                  pVP                  ;'       g    V'       d   RM^PpVP                  pVP                  pVP                  pVP                  pVe   Vf   \	        V R4      h V P                  R4       \#        W#WEWgV4      #   \         d    TP                  R	4      P                  4       p\         P                  P                  T\         R
7      p\         P                  P                  T\         R
7      pTeQ   Tf   Q h\         P                  P                  T\         R
7      p\         P                  P                  T\         R
7      p Li ; i)z
Parse and validate a WebSocket URI.

Args:
    uri: WebSocket URI.

Returns:
    Parsed WebSocket URI.

Raises:
    InvalidURI: If ``uri`` isn't a valid WebSocket URI.

wsszscheme isn't ws or wsszhostname isn't provided z"fragment identifier is meaninglessi  z"username provided without passwordasciiidna)safe)wsr0   )urllibparseurlparseschemer   hostnamefragmentr   r   r   r   r   encodeUnicodeEncodeErrordecodequoteDELIMSr   )	r.   parsedr	   r   r   r   r   r   r   s	   &        r   r   r   <   s    \\""3'F}}M)677788"BCC]]e#F??D;;11&3bD;;DLLEHH  0BCCA

7 d%8LL  	A {{6"))+||!!$V!4""5v"6'''||))()@H||))()@H	As   4D CGG)
__future__r   dataclassesurllib.parser6   
exceptionsr   __all__r@   	dataclassr   r   r   r   r   <module>rH      sJ    "   " 
' 
 (. (. (.V/Mr   