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

Method wasi_options

src/http/client.rs:80–85  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

78 }
79
80 fn wasi_options(&self) -> Result<Option<WasiRequestOptions>, crate::http::Error> {
81 self.options
82 .as_ref()
83 .map(RequestOptions::to_wasi)
84 .transpose()
85 }
86}
87
88#[derive(Default, Debug, Clone)]

Callers 1

sendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected