MCPcopy
hub / github.com/gofiber/fiber / OverrideParam

Method OverrideParam

ctx_interface_gen.go:128–128  ·  view source on GitHub ↗

OverrideParam overwrites a route parameter value by name. If the parameter name does not exist in the route, this method does nothing.

(name, value string)

Source from the content-addressed store, hash-verified

126 // OverrideParam overwrites a route parameter value by name.
127 // If the parameter name does not exist in the route, this method does nothing.
128 OverrideParam(name, value string)
129 // IsWebSocket returns true if the request includes a WebSocket upgrade handshake.
130 IsWebSocket() bool
131 // IsPreflight returns true if the request is a CORS preflight.

Callers 2

Test_Ctx_OverrideParamFunction · 0.65

Calls

no outgoing calls

Tested by 2

Test_Ctx_OverrideParamFunction · 0.52