mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 03:47:04 +00:00
add Context.ResponseWriter.IsHijacked to report whether the underline conn is already hijacked and a lot of cleanup and minor ws stress test example improvements
Former-commit-id: 444d4f0718d5c6d7544834c5e44dafb872980238
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# hero: basic
|
||||
|
||||
## 1. Path Parameters - Built'n Dependencies
|
||||
## 1. Path Parameters - Builtin Dependencies
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ var helloView = hero.View{
|
||||
// Hello will return a predefined view with bind data.
|
||||
//
|
||||
// `hero.Result` is just an interface with a `Dispatch` function.
|
||||
// `hero.Response` and `hero.View` are the built'n result type dispatchers
|
||||
// `hero.Response` and `hero.View` are the builtin result type dispatchers
|
||||
// you can even create custom response dispatchers by
|
||||
// implementing the `github.com/kataras/iris/hero#Result` interface.
|
||||
func Hello() hero.Result {
|
||||
|
||||
Reference in New Issue
Block a user