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

Method DelCookies

client/client.go:652–658  ·  view source on GitHub ↗

DelCookies deletes one or more cookies and their values from the client.

(key ...string)

Source from the content-addressed store, hash-verified

650
651// DelCookies deletes one or more cookies and their values from the client.
652func (c *Client) DelCookies(key ...string) *Client {
653 c.mu.Lock()
654 defer c.mu.Unlock()
655
656 c.cookies.DelCookies(key...)
657 return c
658}
659
660// SetTimeout sets the timeout value for the client. This applies to all requests unless overridden at the request level.
661func (c *Client) SetTimeout(t time.Duration) *Client {

Callers 5

Test_Client_CookieFunction · 0.45
Test_Request_CookieFunction · 0.45

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 5

Test_Client_CookieFunction · 0.36
Test_Request_CookieFunction · 0.36