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

Method set_between_bytes_timeout

src/http/client.rs:66–68  ·  view source on GitHub ↗

Set timeout on recieving subsequent chunks of bytes in the Response body stream

(&mut self, d: impl Into<Duration>)

Source from the content-addressed store, hash-verified

64
65 /// Set timeout on recieving subsequent chunks of bytes in the Response body stream
66 pub fn set_between_bytes_timeout(&mut self, d: impl Into<Duration>) {
67 self.options_mut().between_bytes_timeout = Some(d.into());
68 }
69
70 fn options_mut(&mut self) -> &mut RequestOptions {
71 match &mut self.options {

Callers 3

to_wasiMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

options_mutMethod · 0.80

Tested by

no test coverage detected