Home / Type/ Request Type — fiber Architecture

Request Type — fiber Architecture

Architecture documentation for the Request type/interface in request.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  399ed208_6fd2_f3c5_06c3_98c935c78e41["Request"]
  57f8b776_0c63_5c88_3581_d70765402a0c["request.go"]
  399ed208_6fd2_f3c5_06c3_98c935c78e41 -->|defined in| 57f8b776_0c63_5c88_3581_d70765402a0c
  style 399ed208_6fd2_f3c5_06c3_98c935c78e41 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/request.go lines 46–73

type Request struct {
	ctx context.Context //nolint:containedctx // Context is needed to be stored in the request.

	body    any
	header  Header
	params  QueryParam
	cookies Cookie
	path    PathParam

	client *Client

	formData FormData

	RawRequest *fasthttp.Request
	url        string
	method     string
	userAgent  string
	boundary   string
	referer    string
	files      []*File

	timeout      time.Duration
	maxRedirects int

	bodyType bodyType

	disablePathNormalizing bool
}

Defined In

Frequently Asked Questions

What is the Request type?
Request is a type/interface in the fiber codebase, defined in client/request.go.
Where is Request defined?
Request is defined in client/request.go at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free