MCPcopy Index your code
hub / github.com/imroc/req / SetCommonQueryParams

Method SetCommonQueryParams

client.go:426–431  ·  view source on GitHub ↗

SetCommonQueryParams set URL query parameters with a map for requests fired from the client.

(params map[string]string)

Source from the content-addressed store, hash-verified

424// SetCommonQueryParams set URL query parameters with a map
425// for requests fired from the client.
426func (c *Client) SetCommonQueryParams(params map[string]string) *Client {
427 for k, v := range params {
428 c.SetCommonQueryParam(k, v)
429 }
430 return c
431}
432
433// AddCommonQueryParam add a URL query parameter with a key-value
434// pair for requests fired from the client.

Callers 3

TestSetCommonQueryParamsFunction · 0.80
testQueryParamFunction · 0.80
SetCommonQueryParamsFunction · 0.80

Calls 1

SetCommonQueryParamMethod · 0.95

Tested by 2

TestSetCommonQueryParamsFunction · 0.64
testQueryParamFunction · 0.64