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

Method FasthttpClient

client/client.go:118–123  ·  view source on GitHub ↗

FasthttpClient returns the underlying *fasthttp.Client if the client was created with one.

()

Source from the content-addressed store, hash-verified

116
117// FasthttpClient returns the underlying *fasthttp.Client if the client was created with one.
118func (c *Client) FasthttpClient() *fasthttp.Client {
119 if client, ok := c.transport.(*standardClientTransport); ok {
120 return client.client
121 }
122 return nil
123}
124
125// HostClient returns the underlying fasthttp.HostClient if the client was created with one.
126func (c *Client) HostClient() *fasthttp.HostClient {

Calls

no outgoing calls