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

Method Delete

client/client.go:739–743  ·  view source on GitHub ↗

Delete sends a DELETE request to the specified URL, similar to axios.

(url string, cfg ...Config)

Source from the content-addressed store, hash-verified

737
738// Delete sends a DELETE request to the specified URL, similar to axios.
739func (c *Client) Delete(url string, cfg ...Config) (*Response, error) {
740 req := AcquireRequest().SetClient(c)
741 setConfigToRequest(req, cfg...)
742 return req.Delete(url)
743}
744
745// Options sends an OPTIONS request to the specified URL, similar to axios.
746func (c *Client) Options(url string, cfg ...Config) (*Response, error) {

Callers

nothing calls this directly

Calls 4

AcquireRequestFunction · 0.85
setConfigToRequestFunction · 0.85
SetClientMethod · 0.80
DeleteMethod · 0.65

Tested by

no test coverage detected