MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / NewHandler

Function NewHandler

internal/ws/handler.go:33–35  ·  view source on GitHub ↗
(hub *Hub, store HandlerStore)

Source from the content-addressed store, hash-verified

31}
32
33func NewHandler(hub *Hub, store HandlerStore) *Handler {
34 return &Handler{hub: hub, store: store}
35}
36
37// Handle is the HTTP handler for WebSocket upgrade requests.
38// Route: GET /v1/agents/{email}/ws — authenticated by `Authorization: Bearer <api_key>`.

Callers 15

TestServerFunction · 0.92
StartContractServerFunction · 0.92
newConsentFixtureFunction · 0.92
mainFunction · 0.92
TestHandler_NoTokenFunction · 0.85
TestHandler_InvalidTokenFunction · 0.85
TestHandler_NotOwnerFunction · 0.85

Calls

no outgoing calls