Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ header_val
Function
header_val
crates/test-programs/src/http.rs:44–46 ·
view source on GitHub ↗
(v: &str)
Source
from the content-addressed store, hash-verified
42
between_bytes_timeout: Option<u64>,
43
) -> Result<Response> {
44
fn header_val(v: &str) -> Vec<u8> {
45
v.to_string().into_bytes()
46
}
47
let headers = http_types::Headers::from_list(
48
&[
49
&[
Callers
1
request
Function · 0.70
Calls
2
into_bytes
Method · 0.80
to_string
Method · 0.45
Tested by
no test coverage detected