MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / ServeHTTP

Method ServeHTTP

internal/server/server.go:1738–1741  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1736}
1737
1738func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
1739 s.ensureRouter()
1740 s.router.ServeHTTP(w, r)
1741}
1742
1743// httpIdleTimeout caps the keep-alive idle window on every HTTP
1744// connection. Tracked here (not in handlers_events.go) because it

Calls 1

ensureRouterMethod · 0.95