bgRdZddlmZdZGddeZGddeZdS) 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 eZdZdZdZgZdZdS) Transportz All transport implementations need to subclass this class You must implement a send method (or an async_send method if sub-classing AsyncTransport). Fct)z You need to override this to do something with the actual data. Usually - this is sending to a server NotImplementedError)selfurldataheaderss K/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/transport/base.pysendzTransport.sends "!N)__name__ __module__ __qualname____doc__is_asyncschemerrr rrs9H F"""""rrceZdZdZdZdZdS)AsyncTransportz All asynchronous transport implementations should subclass this class. You must implement a async_send method. Tct)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_cberror_cbs r async_sendzAsyncTransport.async_send,s "!rN)rrrrrrrrr rr"s4H"""""rrN)r __future__rhas_newstyle_transportsobjectrrrrr r s'&&&&&""""""""&"""""Y"""""r