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

Method AddParam

client/request.go:254–257  ·  view source on GitHub ↗

AddParam adds a single query parameter and value to the Request.

(key, val string)

Source from the content-addressed store, hash-verified

252
253// AddParam adds a single query parameter and value to the Request.
254func (r *Request) AddParam(key, val string) *Request {
255 r.params.Add(key, val)
256 return r
257}
258
259// SetParam sets a single query parameter and value in the Request, overriding any previously set value.
260func (r *Request) SetParam(key, val string) *Request {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected