Internal
internal/tlshandshake
import "github.com/gofiber/fiber/v3/internal/tlshandshake"
Package tlshandshake bounds the TLS handshake of a fasthttp host client by the time its request has.
Functions
func Bound(hc *fasthttp.HostClient)
Source: internal/tlshandshake/tlshandshake.go:14
Bound gives a new TLS connection of hc a read deadline of the time its request has left: fasthttp handshakes inside the first write, where only a write deadline applies. It wraps the dialers hc has, so it goes last.