MCPcopy Create free account
hub / github.com/bytecodealliance/wstd / into_http_body

Method into_http_body

src/http/body.rs:346–348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

344
345impl Incoming {
346 fn into_http_body(self) -> IncomingBody {
347 IncomingBody::new(self.body, self.size_hint)
348 }
349 async fn send(self, outgoing_body: WasiOutgoingBody) -> Result<(), Error> {
350 let in_body = self.body;
351 let in_stream =

Callers 2

into_boxed_bodyMethod · 0.80
contentsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected