Skip to content

Document working with connections directly. #725

Closed

Description

@lovelydinosaur

We expose the following through our public API...

  • HTTPConnection / AsyncHTTPConnection
  • HTTP11Connection / AsyncHTTP11Connection
  • HTTP2Connection / AsyncHTTP2Connection

However we don't have them publicly documented.

Users wouldn't typically need to work directly with connections since you normally want to be sending requests at the level of the connection pool, but it'd be really valuable for us to document this layer of the API.

With a similar motivation to our docs & API work on #699, helping expose the API layering in httpcore is valuable because it demonstrates how the various parts fit together & allows users to isolate issues more clearly.

Activity

  1. stale commented on Apr 26, 2025

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions