Skip to content

Use Body types of http-body #557

Closed
@aeryz

Description

@aeryz

Feature Request

Crates

tonic

Motivation

Tonic uses its own Body implementations BoxBody, MapBody and EmptyBody. This RFC suggests to add BoxBody, EmptyBody and several others to Hyper. But it seems like they will be added to http-body. There is already a PR opened. After this PR gets merged, and other Body types are implemented, I think tonic should re-export them instead of re-implementing them.

Proposal

Body types from http-body should be re-exported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tonicC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions