Home / Function/ send() — requests Function Reference

send() — requests Function Reference

Architecture documentation for the send() function in adapters.py from the requests codebase.

Function python CoreAPI VerbHandlers calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  8afca6fd_1e23_31a7_341a_2a812103180b["send()"]
  3115448a_c02d_7a97_aab5_38326ba6f5ae["BaseAdapter"]
  8afca6fd_1e23_31a7_341a_2a812103180b -->|defined in| 3115448a_c02d_7a97_aab5_38326ba6f5ae
  66fc1563_b020_b369_a505_bc9abe7cf66d["send()"]
  66fc1563_b020_b369_a505_bc9abe7cf66d -->|calls| 8afca6fd_1e23_31a7_341a_2a812103180b
  66fc1563_b020_b369_a505_bc9abe7cf66d["send()"]
  8afca6fd_1e23_31a7_341a_2a812103180b -->|calls| 66fc1563_b020_b369_a505_bc9abe7cf66d
  style 8afca6fd_1e23_31a7_341a_2a812103180b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/requests/adapters.py lines 121–138

    def send(
        self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
    ):
        """Sends PreparedRequest object. Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (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.
        :type timeout: float or tuple
        :param 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
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        """
        raise NotImplementedError

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does send() do?
send() is a function in the requests codebase, defined in src/requests/adapters.py.
Where is send() defined?
send() is defined in src/requests/adapters.py at line 121.
What does send() call?
send() calls 1 function(s): send.
What calls send()?
send() is called by 1 function(s): send.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free