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

Method ServeHTTP

reverseproxy/reverseproxy.go:195–197  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

193}
194
195func (p *ReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
196 p.ServeHTTPContext(context.Background(), w, r)
197}
198
199func (p *ReverseProxy) copyResponse(ctx context.Context, dst io.Writer, inject inject.Injector) {
200 log := termlog.FromContext(ctx)

Callers

nothing calls this directly

Calls 1

ServeHTTPContextMethod · 0.95

Tested by

no test coverage detected