mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +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:
@@ -3177,7 +3177,7 @@ func (ctx *context) SendFile(filename string, destinationName string) error {
|
||||
// context's methods like `SetCookieKV`, `RemoveCookie` and `SetCookie`
|
||||
// as their (last) variadic input argument to amend the end cookie's form.
|
||||
//
|
||||
// Any custom or built'n `CookieOption` is valid,
|
||||
// Any custom or builtin `CookieOption` is valid,
|
||||
// see `CookiePath`, `CookieCleanPath`, `CookieExpires` and `CookieHTTPOnly` for more.
|
||||
type CookieOption func(*http.Cookie)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user