/opt/cloudlinux/venv/lib/python3.11/site-packages/raven/transport/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/raven/transport/__pycache__/base.cpython-311.pyc (2035B)
§
×Íì\ûÙUzã ó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 úf/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/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 " s4 € € € € € ðð ð €Hð"ð "ð "ð "ð "r r N)r Ú
__future__r Úhas_newstyle_transportsÚobjectr r r r r
ú
r s‰ ððð ð 'Ð &Ð