Skip to content

Decompose Client into utils #3080

Open
hyperium/hyper-util
#31
@seanmonstar

Description

@seanmonstar

Besides a connector and pool, the Client from 0.14.x did many small things that should be decomposed into pieces in hyper-util, so users can choose to compose the parts they want.

  • Create a SetHost service layer (could also fit in tower-http) (0.14.x code)
  • Create a Http1RequestTarget service layer (0.14.x code)
  • Create a DelayedRelease service layer (0.14.x code)
  • Create an AutoConnection which can wrap HTTP/1 and HTTP/2 (and eventually 3) connections

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.K-hyper-utilCrate: hyper-util

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions