mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-14 13:46:23 +00:00
🚀 How about compatibling with httpexpect #485
This commit is contained in:
parent
21d8ec4d05
commit
09e9915e9c
5
app.go
5
app.go
@ -476,6 +476,11 @@ func (app *App) Listen(address interface{}, tlsconfig ...*tls.Config) error {
|
||||
return app.server.Serve(ln)
|
||||
}
|
||||
|
||||
// Handler returns the server handler
|
||||
func (app *App) Handler() fasthttp.RequestHandler {
|
||||
return app.handler
|
||||
}
|
||||
|
||||
// Shutdown gracefully shuts down the server without interrupting any active connections.
|
||||
// Shutdown works by first closing all open listeners and then waiting indefinitely for all connections to return to idle and then shut down.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user