MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / optionsSet

Method optionsSet

plugins/wasi_crypto/common/ctx.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41WasiCryptoExpect<void> Context::optionsSet(__wasi_options_t OptionsHandle,
42 std::string_view Name,
43 Span<const uint8_t> Value) noexcept {
44 return OptionsManager.get(OptionsHandle)
45 .and_then([Name, Value](auto &&Options) noexcept {
46 return Common::optionsSet(Options, Name, Value);
47 });
48}
49
50WasiCryptoExpect<void> Context::optionsSetU64(__wasi_options_t OptionsHandle,
51 std::string_view Name,

Callers 1

bodyMethod · 0.45

Calls 2

optionsSetFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected