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

Function createIncomingMessage

services/kiloclaw/controller/src/proxy.test.ts:225–231  ·  view source on GitHub ↗
(headers: Record<string, string>)

Source from the content-addressed store, hash-verified

223};
224
225function createIncomingMessage(headers: Record<string, string>): http.IncomingMessage {
226 return {
227 headers,
228 method: 'GET',
229 url: '/ws',
230 } as http.IncomingMessage;
231}
232
233class FakeSocket extends EventEmitter {
234 written: string[] = [];

Callers 1

proxy.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected