MCPcopy Create free account
hub / github.com/Noumena-Network/code / fetch

Function fetch

src/services/api/openAICompatWsV2Native.test.ts:448–453  ·  view source on GitHub ↗
(req, server)

Source from the content-addressed store, hash-verified

446 const server = Bun.serve({
447 port: 0,
448 fetch(req, server) {
449 if (server.upgrade(req)) {
450 return undefined
451 }
452 return new Response('not found', { status: 404 })
453 },
454 websocket: {
455 message(ws, raw) {
456 const message = JSON.parse(String(raw)) as {

Callers 12

preconnectAnthropicApiFunction · 0.85
downloadCaBundleFunction · 0.85
connectMethod · 0.85
completeAutomaticFlowFunction · 0.85
completeRelayFlowFunction · 0.85
client.tsFile · 0.85
discoverOidcFunction · 0.85
acquireIdpIdTokenFunction · 0.85
createAuthFetchFunction · 0.85
makeXaaFetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected