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

Method Options

client/client.go:746–750  ·  view source on GitHub ↗

Options sends an OPTIONS request to the specified URL, similar to axios.

(url string, cfg ...Config)

Source from the content-addressed store, hash-verified

744
745// Options sends an OPTIONS request to the specified URL, similar to axios.
746func (c *Client) Options(url string, cfg ...Config) (*Response, error) {
747 req := AcquireRequest().SetClient(c)
748 setConfigToRequest(req, cfg...)
749 return req.Options(url)
750}
751
752// Patch sends a PATCH request to the specified URL, similar to axios.
753func (c *Client) Patch(url string, cfg ...Config) (*Response, error) {

Callers

nothing calls this directly

Calls 4

AcquireRequestFunction · 0.85
setConfigToRequestFunction · 0.85
SetClientMethod · 0.80
OptionsMethod · 0.65

Tested by

no test coverage detected