Skip to content

Make aws_smithy_http::byte_stream::ByteStream not expose SdkBody #1125

@david-perez

Description

@david-perez

As mentioned here #1023 (comment)

We have decided that we will use aws_smithy_http::byte_stream::ByteStream,
making all methods referencing SdkBody #[doc(hidden)] (new, into_inner,
From<SdkBody> impl), and we will add generic methods that don’t reference
SdkBody.

This change is to allow server users to return ByteStreams in their output shapes, for streaming responses. The server so far has not used SdkBody, with all its code working against http_body::Body.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions