MCPcopy
hub / github.com/cortesi/devd / ServeHTTP

Method ServeHTTP

httpctx/httpctx.go:32–36  ·  view source on GitHub ↗
(
	rw http.ResponseWriter, req *http.Request,
)

Source from the content-addressed store, hash-verified

30}
31
32func (ca *Adapter) ServeHTTP(
33 rw http.ResponseWriter, req *http.Request,
34) {
35 ca.Handler.ServeHTTPContext(ca.Ctx, rw, req)
36}
37
38// StripPrefix strips a prefix from the request URL
39func StripPrefix(prefix string, h Handler) Handler {

Callers 2

hostPortStripFunction · 0.45
RequestMethod · 0.45

Calls 1

ServeHTTPContextMethod · 0.65

Tested by 1

RequestMethod · 0.36