Current Path: > > opt > cloudlinux > venv > lib > > python3.11 > > site-packages > raven > > > transport
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 784 bytes | April 17 2025 13:10:58. | |
base.py | File | 1219 bytes | April 17 2025 13:10:58. | |
eventlet.py | File | 1535 bytes | April 17 2025 13:10:58. | |
exceptions.py | File | 517 bytes | April 17 2025 13:10:58. | |
gevent.py | File | 1658 bytes | April 17 2025 13:10:58. | |
http.py | File | 1819 bytes | April 17 2025 13:10:58. | |
registry.py | File | 2606 bytes | April 17 2025 13:10:58. | |
requests.py | File | 1024 bytes | April 17 2025 13:10:58. | |
threaded.py | File | 5102 bytes | April 17 2025 13:10:58. | |
threaded_requests.py | File | 1094 bytes | April 17 2025 13:10:58. | |
tornado.py | File | 1833 bytes | April 17 2025 13:10:58. | |
twisted.py | File | 2322 bytes | April 17 2025 13:10:58. |
""" raven.transport.base ~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import # Helper for external transports has_newstyle_transports = True class Transport(object): """ All transport implementations need to subclass this class You must implement a send method (or an async_send method if sub-classing AsyncTransport). """ is_async = False scheme = [] def send(self, url, data, headers): """ You need to override this to do something with the actual data. Usually - this is sending to a server """ raise NotImplementedError class AsyncTransport(Transport): """ All asynchronous transport implementations should subclass this class. You must implement a async_send method. """ is_async = True def async_send(self, url, data, headers, success_cb, error_cb): """ Override this method for asynchronous transports. Call `success_cb()` if the send succeeds or `error_cb(exception)` if the send fails. """ raise NotImplementedError
SILENT KILLER Tool