Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lukeed/polka
/ setHeader
Method
setHeader
tests/util/mock.js:28–30 ·
view source on GitHub ↗
(key, val)
Source
from the content-addressed store, hash-verified
26
return
this.headers[key.toLowerCase()];
27
}
28
setHeader(key, val) {
29
this.headers[key.toLowerCase()] = val;
30
}
31
hasHeader(key) {
32
return
this.headers[key.toLowerCase()] !== void 0;
33
}
Callers
7
index.js
File · 0.80
polka.js
File · 0.80
send-type.js
File · 0.80
server.js
File · 0.80
util.js
File · 0.80
get
Function · 0.80
get
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected