mirror of
https://github.com/kataras/iris.git
synced 2026-02-09 12:16:10 +00:00
fix #1856
This commit is contained in:
@@ -46,6 +46,12 @@ type Application interface {
|
||||
// Returns an error on failure, otherwise nil.
|
||||
View(writer io.Writer, filename string, layout string, bindingData interface{}) error
|
||||
|
||||
// GetContextPool returns the Iris sync.Pool which holds the contexts values.
|
||||
// Iris automatically releases the request context, so you don't have to use it.
|
||||
// It's only useful to manually release the context on cases that connection
|
||||
// is hijacked by a third-party middleware and the http handler return too fast.
|
||||
GetContextPool() *Pool
|
||||
|
||||
// ServeHTTPC is the internal router, it's visible because it can be used for advanced use cases,
|
||||
// i.e: routing within a foreign context.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user