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

Method ServeHTTP

internal/httpapi/httpapi.go:347–349  ·  view source on GitHub ↗

ServeHTTP makes Server a drop-in http.Handler.

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

345
346// ServeHTTP makes Server a drop-in http.Handler.
347func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
348 s.Router.ServeHTTP(w, r)
349}
350
351// OpenAPIYAML renders the generated spec as YAML. Used by the codegen step
352// and the drift test — the spec is emitted from the live handlers, never

Callers 4

withRawRequestFunction · 0.45
requestIDFunction · 0.45
authChallengeFunction · 0.45
securityHeadersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected