mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 11:57:02 +00:00
Update to 3.0.0-pre.release, Read HISTORY.md for new features and changes
Yes new features, with Iris you always get them on each version or revision or non-semantic version
This commit is contained in:
@@ -14,6 +14,10 @@ type (
|
||||
// IContext the interface for the iris/context
|
||||
// Used mostly inside packages which shouldn't be import ,directly, the kataras/iris.
|
||||
IContext interface {
|
||||
// deprecated Start
|
||||
PostFormValue(string) string
|
||||
PostFormMulti(string) []string
|
||||
// deprecated End
|
||||
Param(string) string
|
||||
ParamInt(string) (int, error)
|
||||
ParamInt64(string) (int64, error)
|
||||
@@ -29,8 +33,8 @@ type (
|
||||
RequestIP() string
|
||||
RemoteAddr() string
|
||||
RequestHeader(k string) string
|
||||
PostFormValue(string) string
|
||||
PostFormMulti(string) []string
|
||||
FormValueString(string) string
|
||||
FormValues(string) []string
|
||||
SetStatusCode(int)
|
||||
SetContentType(string)
|
||||
SetHeader(string, string)
|
||||
|
||||
Reference in New Issue
Block a user