MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / network

Function network

host/network/src/index.js:8–16  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

6import sse from './main/sse.js';
7
8export const network = (ctx) => {
9 const state = makeState();
10 return Object.assign(
11 {},
12 http(state),
13 ws(state, ctx),
14 sse(state, ctx),
15 );
16};
17
18export default network;

Callers

nothing calls this directly

Calls 3

makeStateFunction · 0.90
sseFunction · 0.85
assignMethod · 0.80

Tested by

no test coverage detected