MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / handleHandler

Method handleHandler

runtime/mux.go:569–571  ·  view source on GitHub ↗
(h handler, w http.ResponseWriter, r *http.Request, pathParams map[string]string)

Source from the content-addressed store, hash-verified

567}
568
569func (s *ServeMux) handleHandler(h handler, w http.ResponseWriter, r *http.Request, pathParams map[string]string) {
570 h.h(w, r.WithContext(withHTTPPattern(r.Context(), h.pat)), pathParams)
571}
572
573func chainMiddlewares(mws []Middleware) Middleware {
574 return func(next HandlerFunc) HandlerFunc {

Callers 1

ServeHTTPMethod · 0.95

Calls 1

withHTTPPatternFunction · 0.85

Tested by

no test coverage detected