MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / SetUserAgentHeader

Function SetUserAgentHeader

network/wsNetwork.go:2448–2452  ·  view source on GitHub ↗

SetUserAgentHeader adds the User-Agent header to the provided heades map.

(header http.Header)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

requestLedgerMethod · 0.92
getBlockBytesMethod · 0.92
SyncMethod · 0.92
TestBlockServiceShutdownFunction · 0.92
TestRedirectExceptionsFunction · 0.92
tryConnectMethod · 0.85
TestSetUserAgentHeaderFunction · 0.85

Calls 2

GetCurrentVersionFunction · 0.92
SetMethod · 0.65

Tested by 5

TestBlockServiceShutdownFunction · 0.74
TestRedirectExceptionsFunction · 0.74
TestSetUserAgentHeaderFunction · 0.68