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

Method GetForwardResponseOptions

runtime/mux.go:556–558  ·  view source on GitHub ↗

GetForwardResponseOptions returns the ForwardResponseOptions associated with this ServeMux.

()

Source from the content-addressed store, hash-verified

554
555// GetForwardResponseOptions returns the ForwardResponseOptions associated with this ServeMux.
556func (s *ServeMux) GetForwardResponseOptions() []func(context.Context, http.ResponseWriter, proto.Message) error {
557 return s.forwardResponseOptions
558}
559
560func (s *ServeMux) isPathLengthFallback(r *http.Request) bool {
561 return !s.disablePathLengthFallback && r.Method == "POST" && r.Header.Get("Content-Type") == "application/x-www-form-urlencoded"

Calls

no outgoing calls

Tested by

no test coverage detected