
    N j                     4   / S Qr SSKJrJrJr  SSKJr  SSKJrJ	r	  SSK
Jr  SSKJrJr  SS	KJrJrJr  SS
KJrJr  SSKJrJrJrJrJrJrJrJr  SSKJ r J!r!J"r"J#r#J$r$J%r%J&r&  \(       a   " S S\SS9r'O\r'   S#S\S\(S\\   S\\)   S\\*   S\\   S\4S jjr+S\(S\\'   S\4S jr,S\(S\\'   S\4S jr-S\(S\\'   S\4S jr.S\(S\\'   S\4S jr/S\(S\\'   S\4S jr0S\(S\\'   S\4S jr1S\(S\\'   S\4S  jr2S\(S\\'   S\4S! jr3S\(S\\'   S\4S" jr4g)$)SessionAsyncSessionBrowserTypeBrowserTypeLiteral
CurlWsFlagrequestheadgetpostputpatchdeleteoptionsRequestsErrorCookiesHeadersRequestResponseAsyncWebSocket	WebSocketWebSocketErrorWebSocketClosedWebSocketTimeoutWebSocketRetryStrategyWsCloseCodeExtraFingerprintsRetryStrategyCookieTypesHeaderTypes	ProxySpec    )OptionalTYPE_CHECKING	TypedDict   )r      )r   r   )r   )r   r   )r   r   r   )r   r   )r   
HttpMethodr   r   r   
ThreadTypeRequestParamsUnpack)r   r   r   r   r   r   r   c                   F    \ rS rSr% \\   \S'   \\   \S'   \\   \S'   Sr	g)SessionRequestParams@   threadcurl_optionsdebug N)
__name__
__module____qualname____firstlineno__r!   r'   __annotations__dictbool__static_attributes__r0       l/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/curl_cffi/requests/__init__.pyr+   r+   @   s!    $$tn$~r9   r+   F)totalNmethodurlr-   r.   r/   kwargsreturnc                     Uc  SOUn[        X#US9 nUR                  " SXS.UD6sSSS5        $ ! , (       d  f       g= f)ax  Send an http request.

Parameters:
    method: http method for the request: GET/POST/PUT/DELETE etc.
    url: url for the requests.
    params: query string for the requests.
    data: form values(dict/list/tuple) or binary data to use in body,
        ``Content-Type: application/x-www-form-urlencoded`` will be added if a dict
        is given.
    json: json values to use in body, `Content-Type: application/json` will be added
        automatically.
    headers: headers to send.
    cookies: cookies to use.
    files: not supported, use ``multipart`` instead.
    auth: HTTP basic auth, a tuple of (username, password), only basic auth is
        supported.
    timeout: how many seconds to wait before giving up.
    allow_redirects: whether to allow redirection.
    max_redirects: max redirect counts, default 30, use -1 for unlimited.
    proxies: dict of proxies to use, prefer to use ``proxy`` if they are the same.
        format: ``{"http": proxy_url, "https": proxy_url}``.
    proxy: proxy to use, format: "http://user@pass:proxy_url".
        Can't be used with `proxies` parameter.
    proxy_auth: HTTP basic auth for proxy, a tuple of (username, password).
    verify: whether to verify https certs.
    referer: shortcut for setting referer header.
    accept_encoding: shortcut for setting accept-encoding header.
    content_callback: a callback function to receive response body.
        ``def callback(chunk: bytes) -> None:``
    impersonate: which browser version to impersonate.
    ja3: ja3 string to impersonate.
    akamai: akamai string to impersonate.
    extra_fp: extra fingerprints options, in complement to ja3 and akamai strings.
    thread: thread engine to use for working with other thread implementations.
        choices: eventlet, gevent.
    default_headers: whether to set default browser headers when impersonating.
    default_encoding: encoding for decoding response content if charset is not found
        in headers. Defaults to "utf-8". Can be set to a callable for automatic
        detection.
    quote: Set characters to be quoted, i.e. percent-encoded. Default safe string
        is ``!#$%&'()*+,/:;=?@[]~``. If set to a sting, the character will be
        removed from the safe string, thus quoted. If set to False, the url will be
        kept as is, without any automatic percent-encoding, you must encode the URL
        yourself.
    curl_options: extra curl options to use.
    http_version: limiting http version, defaults to http2.
    debug: print extra curl debug info.
    interface: which interface to use.
    cert: a tuple of (cert, key) filenames for client cert.
    stream: streaming the response, default False.
    max_recv_speed: maximum receive speed, bytes per second.
    multipart: upload files using the multipart format, see examples for details.
    discard_cookies: discard cookies from server. Default to False.

Returns:
    A ``Response`` object.
NF)r-   r.   r/   r<   r=   r0   )r   r   )r<   r=   r-   r.   r/   r>   ss          r:   r   r   I   s=    B ]EE		G1yy::6: 
H	G	Gs   0
>c                     [        SSU S.UD6$ )NHEADrA   r0   r   r=   r>   s     r:   r   r          4&c4V44r9   c                     [        SSU S.UD6$ )NGETrA   r0   rE   rF   s     r:   r	   r	          3%S3F33r9   c                     [        SSU S.UD6$ )NPOSTrA   r0   rE   rF   s     r:   r
   r
      rG   r9   c                     [        SSU S.UD6$ )NPUTrA   r0   rE   rF   s     r:   r   r      rJ   r9   c                     [        SSU S.UD6$ )NPATCHrA   r0   rE   rF   s     r:   r   r          5's5f55r9   c                     [        SSU S.UD6$ )NDELETErA   r0   rE   rF   s     r:   r   r      s    6(6v66r9   c                     [        SSU S.UD6$ )NOPTIONSrA   r0   rE   rF   s     r:   r   r      s    7)777r9   c                     [        SSU S.UD6$ )NTRACErA   r0   rE   rF   s     r:   tracerX      rQ   r9   c                     [        SSU S.UD6$ )NQUERYrA   r0   rE   rF   s     r:   queryr[      rQ   r9   )NNN)5__all__typingr!   r"   r#   constr   cookiesr   r   errorsr   headersr   r   impersonater   r   r   modelsr   r   sessionr   r&   r   r   r   r'   r(   r)   
websocketsr   r   r   r   r   r   r   r+   strr6   r7   r   r   r	   r
   r   r   r   r   rX   r[   r0   r9   r:   <module>rg      s  B 6 5  ) ! ) K K %	 	 	   }E  % $(#' C;C;	C; Z C; 4.	C;
 D>C; ]#C; C;L5c 5V$89 5h 54S 4F#78 4X 45c 5V$89 5h 54S 4F#78 4X 46s 6f%9: 6x 67 7v&:; 7 78 8'; < 8 86s 6f%9: 6x 66s 6f%9: 6x 6r9   