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

Method ServeHTTP

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

Source from the content-addressed store, hash-verified

2823}
2824
2825func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
2826 s.ensureRouter()
2827 s.router.ServeHTTP(w, r)
2828}
2829
2830// httpIdleTimeout caps the keep-alive idle window on every HTTP
2831// connection. Tracked here (not in handlers_events.go) because it

Callers 15

CapturePeerAddrFunction · 0.45
TrustedProxyRealIPFunction · 0.45
RateLimitMethod · 0.45
limitMCPBodyMethod · 0.45
atMountFunction · 0.45
CompressResponsesFunction · 0.45
importBundleForSummaryFunction · 0.45
importBodyAsFunction · 0.45
t4137OAuthFunction · 0.45
postWithCookiesFunction · 0.45
callAsMethod · 0.45

Calls 1

ensureRouterMethod · 0.95

Tested by 15

atMountFunction · 0.36
importBundleForSummaryFunction · 0.36
importBodyAsFunction · 0.36
t4137OAuthFunction · 0.36
postWithCookiesFunction · 0.36
callAsMethod · 0.36