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

Function WithUnescapingMode

runtime/mux.go:115–119  ·  view source on GitHub ↗

WithUnescapingMode sets the escaping type. See the definitions of UnescapingMode for more information.

(mode UnescapingMode)

Source from the content-addressed store, hash-verified

113// WithUnescapingMode sets the escaping type. See the definitions of UnescapingMode
114// for more information.
115func WithUnescapingMode(mode UnescapingMode) ServeMuxOption {
116 return func(serveMux *ServeMux) {
117 serveMux.unescapingMode = mode
118 }
119}
120
121// WithMiddlewares sets server middleware for all handlers. This is useful as an alternative to gRPC
122// interceptors when using the direct-to-implementation registration methods and cannot rely

Callers 1

TestMuxServeHTTPFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestMuxServeHTTPFunction · 0.74