Home / Type/ httpClientTransport Type — fiber Architecture

httpClientTransport Type — fiber Architecture

Architecture documentation for the httpClientTransport type/interface in transport.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  65f9a3ab_ab8b_398b_bcef_7963d50cee19["httpClientTransport"]
  cfe2515b_ab6b_e576_a031_f986d4835acf["transport.go"]
  65f9a3ab_ab8b_398b_bcef_7963d50cee19 -->|defined in| cfe2515b_ab6b_e576_a031_f986d4835acf
  style 65f9a3ab_ab8b_398b_bcef_7963d50cee19 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/transport.go lines 26–38

type httpClientTransport interface {
	Do(req *fasthttp.Request, resp *fasthttp.Response) error
	DoTimeout(req *fasthttp.Request, resp *fasthttp.Response, timeout time.Duration) error
	DoDeadline(req *fasthttp.Request, resp *fasthttp.Response, deadline time.Time) error
	DoRedirects(req *fasthttp.Request, resp *fasthttp.Response, maxRedirects int) error
	CloseIdleConnections()
	TLSConfig() *tls.Config
	SetTLSConfig(config *tls.Config)
	SetDial(dial fasthttp.DialFunc)
	Client() any
	StreamResponseBody() bool
	SetStreamResponseBody(enable bool)
}

Defined In

Frequently Asked Questions

What is the httpClientTransport type?
httpClientTransport is a type/interface in the fiber codebase, defined in client/transport.go.
Where is httpClientTransport defined?
httpClientTransport is defined in client/transport.go at line 26.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free