Skip to content

Remove the client::conn combined-version types #2960

Closed
@seanmonstar

Description

@seanmonstar

The public client API for 1.0 will be the version-specific types at client::conn::{http1, http2}. The combined version may exist in hyper-util, but at least it should be removed from hyper proper. Doing so isn't particularly complex, but it will mean fixing up all the tests.

  • Delete hyper::client::conn::{SendRequest, Connection} types.
  • Update examples/* to use the hyper::client::conn::http1 types (or http2 if appropriate).
  • Update tests/* to use conn::http1 in most places, and conn::http2 when specifically testing for HTTP/2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: client.C-featureCategory: feature. This is adding a new feature.E-mediumEffort: medium. Some knowledge of how hyper internal works would be useful.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions