Server IP : 192.158.238.246 / Your IP : 3.133.141.1 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/transport/__pycache__/ |
Upload File : |
� ��bg� � �R � d Z ddlmZ dZ G d� de� � Z G d� 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 � � e Zd ZdZdZg Zd� 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.send s � � "�!� N)�__name__� __module__�__qualname__�__doc__�is_async�schemer � r r r r s9 � � � � � �� � �H� �F�"� "� "� "� "r r c � � e Zd ZdZdZd� 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 r r � success_cb�error_cbs r � async_sendzAsyncTransport.async_send, s � � "�!r N)r r r r r r r r r r r "