Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/transport/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/transport/__pycache__/base.cpython-311.pyc

�

�܋f���R�dZddlmZdZGd�de��ZGd�de��ZdS)	z�
raven.transport.base
~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
�)�absolute_importTc� �eZdZdZdZgZd�ZdS)�	Transportz�
    All transport implementations need to subclass this class

    You must implement a send method (or an async_send method if
    sub-classing AsyncTransport).
    Fc��t�)z
        You need to override this to do something with the actual
        data. Usually - this is sending to a server
        ��NotImplementedError)�self�url�data�headerss    �K/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/transport/base.py�sendzTransport.sends
��
"�!�N)�__name__�
__module__�__qualname__�__doc__�is_async�schemer�rr
rrs9���������H�
�F�"�"�"�"�"rrc��eZdZdZdZd�ZdS)�AsyncTransportz�
    All asynchronous transport implementations should subclass this
    class.

    You must implement a async_send method.
    Tc��t�)z�
        Override this method for asynchronous transports. Call
        `success_cb()` if the send succeeds or `error_cb(exception)`
        if the send fails.
        r)r	r
rr�
success_cb�error_cbs      r
�
async_sendzAsyncTransport.async_send,s
��"�!rN)rrrrrrrrr
rr"s4���������H�"�"�"�"�"rrN)r�
__future__r�has_newstyle_transports�objectrrrrr
�<module>r s�����'�&�&�&�&�&���"�"�"�"�"��"�"�"�&"�"�"�"�"�Y�"�"�"�"�"r

Hacked By AnonymousFox1.0, Coded By AnonymousFox