class documentation

class BaseAdapter(object):

Known subclasses: requests.adapters.HTTPAdapter

View In Hierarchy

The Base Transport Adapter
Method close Cleans up adapter specific items.
Method send Sends PreparedRequest object. Returns Response object.
Method __init__ Undocumented
def close(self):
Cleans up adapter specific items.
def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None):
Sends PreparedRequest object. Returns Response object.
Parameters
requestThe PreparedRequest being sent.
stream(optional) Whether to stream the request content.
timeout:float or tuple(optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) <timeouts>` tuple.
verify(optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use
cert(optional) Any user-provided SSL certificate to be trusted.
proxies(optional) The proxies dictionary to apply to the request.
def __init__(self):

Undocumented