MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getHeaderToken

Function getHeaderToken

services/kiloclaw/controller/src/proxy.ts:28–31  ·  view source on GitHub ↗
(header: string | string[] | undefined)

Source from the content-addressed store, hash-verified

26};
27
28function getHeaderToken(header: string | string[] | undefined): string | undefined {
29 if (Array.isArray(header)) return header[0];
30 return header;
31}
32
33function hasValidProxyToken(
34 token: string | undefined,

Callers 1

handleWebSocketUpgradeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected