Skip to content

Add IRequestBodyPipeFeature and IResponseBodyPipeFeature #3972

@jkotalik

Description

@jkotalik

The IRequestBodyPipeFeature and IResponseBodyPipeFeature will be used to detect if the HttpContext has an underlying Pipe behind the HttpRequest.Body/HttpResponse.Body.

When calling HttpRequest.PipeReader/ HttpResponse.PipeWriter, instead of created an adapted stream, if the corresponding feature is set, it will return the pipe directly rather than creating an adapter.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions