MCPcopy Create free account
hub / github.com/awslabs/llrt / into_js

Method into_js

modules/llrt_fetch/src/form_data.rs:24–30  ·  view source on GitHub ↗
(self, ctx: &Ctx<'js>)

Source from the content-addressed store, hash-verified

22 Text(String),
23 File(Value<'js>),
24}
25
26impl<'js> IntoJs<'js> for FormValue<'js> {
27 fn into_js(self, ctx: &Ctx<'js>) -> Result<Value<'js>> {
28 match self {
29 FormValue::Text(s) => s.into_js(ctx),
30 FormValue::File(f) => f.into_js(ctx),
31 }
32 }
33}

Callers 12

getMethod · 0.45
test_get_headerFunction · 0.45
assign_requestFunction · 0.45
newMethod · 0.45
json_staticMethod · 0.45
redirectMethod · 0.45
parse_data_urlFunction · 0.45
get_fetch_optionsFunction · 0.45
getMethod · 0.45
get_allMethod · 0.45
valuesMethod · 0.45
for_eachMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_get_headerFunction · 0.36