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

Method CloseIdleConnections

client/client.go:101–103  ·  view source on GitHub ↗

CloseIdleConnections closes idle connections on the underlying fasthttp transport when supported.

()

Source from the content-addressed store, hash-verified

99
100// CloseIdleConnections closes idle connections on the underlying fasthttp transport when supported.
101func (c *Client) CloseIdleConnections() {
102 c.transport.CloseIdleConnections()
103}
104
105func (c *Client) currentTLSConfig() *tls.Config {
106 return c.transport.TLSConfig()

Callers 1

hstsHeaderForRequestFunction · 0.95

Calls 1

CloseIdleConnectionsMethod · 0.65

Tested by 1

hstsHeaderForRequestFunction · 0.76