MCPcopy Create free account
hub / github.com/apify/impit / from_napi_value

Method from_napi_value

impit-node/src/response.rs:78–80  ·  view source on GitHub ↗
(env: sys::napi_env, napi_val: sys::napi_value)

Source from the content-addressed store, hash-verified

76
77impl FromNapiValue for Headers {
78 unsafe fn from_napi_value(env: sys::napi_env, napi_val: sys::napi_value) -> Result<Self> {
79 Vec::from_napi_value(env, napi_val).map(Headers)
80 }
81}
82
83#[napi]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected