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

Method Query

client/client.go:760–764  ·  view source on GitHub ↗

Query sends a QUERY request to the specified URL, similar to axios.

(url string, cfg ...Config)

Source from the content-addressed store, hash-verified

758
759// Query sends a QUERY request to the specified URL, similar to axios.
760func (c *Client) Query(url string, cfg ...Config) (*Response, error) {
761 req := AcquireRequest().SetClient(c)
762 setConfigToRequest(req, cfg...)
763 return req.Query(url)
764}
765
766// Custom sends a request with a custom method to the specified URL, similar to axios.
767func (c *Client) Custom(url, method string, cfg ...Config) (*Response, error) {

Callers

nothing calls this directly

Calls 4

AcquireRequestFunction · 0.85
setConfigToRequestFunction · 0.85
SetClientMethod · 0.80
QueryMethod · 0.65

Tested by

no test coverage detected