mirror of https://github.com/gofiber/fiber.git
Update timeout comments
parent
578e566475
commit
cacbfad765
4
app.go
4
app.go
|
@ -133,14 +133,18 @@ type Settings struct {
|
||||||
Views Views
|
Views Views
|
||||||
|
|
||||||
// The amount of time allowed to read the full request including body.
|
// The amount of time allowed to read the full request including body.
|
||||||
|
// It is reset after the request handler has returned.
|
||||||
|
// The connection's read deadline is reset when the connection opens.
|
||||||
// Default: unlimited
|
// Default: unlimited
|
||||||
ReadTimeout time.Duration
|
ReadTimeout time.Duration
|
||||||
|
|
||||||
// The maximum duration before timing out writes of the response.
|
// The maximum duration before timing out writes of the response.
|
||||||
|
// It is reset after the request handler has returned.
|
||||||
// Default: unlimited
|
// Default: unlimited
|
||||||
WriteTimeout time.Duration
|
WriteTimeout time.Duration
|
||||||
|
|
||||||
// The maximum amount of time to wait for the next request when keep-alive is enabled.
|
// The maximum amount of time to wait for the next request when keep-alive is enabled.
|
||||||
|
// If IdleTimeout is zero, the value of ReadTimeout is used.
|
||||||
// Default: unlimited
|
// Default: unlimited
|
||||||
IdleTimeout time.Duration
|
IdleTimeout time.Duration
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue