AlkantarClanX12

Your IP : 18.117.12.181


Current Path : /opt/alt/python37/lib/python3.7/site-packages/raven/transport/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/raven/transport/__pycache__/base.cpython-37.pyc

B

��Y��@s8dZddlmZdZGdd�de�ZGdd�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@s eZdZdZdZgZdd�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).
    FcCst�dS)z
        You need to override this to do something with the actual
        data. Usually - this is sending to a server
        N)�NotImplementedError)�self�url�data�headers�r	�E/opt/alt/python37/lib/python3.7/site-packages/raven/transport/base.py�sendszTransport.sendN)�__name__�
__module__�__qualname__�__doc__�is_async�schemerr	r	r	r
rsrc@seZdZdZdZdd�ZdS)�AsyncTransportz�
    All asynchronous transport implementations should subclass this
    class.

    You must implement a async_send method.
    TcCst�dS)z�
        Override this method for asynchronous transports. Call
        `success_cb()` if the send succeeds or `error_cb(exception)`
        if the send fails.
        N)r)rrrrZ
success_cbZerror_cbr	r	r
�
async_send,szAsyncTransport.async_sendN)rr
rrrrr	r	r	r
r"srN)r�
__future__rZhas_newstyle_transports�objectrrr	r	r	r
�<module>s