mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
minor spelling
parent
bb3b7ae177
commit
dcbf3a897b
|
@ -1,11 +1,11 @@
|
|||
The Iris Context has two methods that returns the `net/http` standard `http.ResponseWriter` and `http.Request` as we mention in the previous chapters.
|
||||
The Iris Context has two methods that return the `net/http` standard `http.ResponseWriter` and `http.Request` values as we already mention at the previous chapters.
|
||||
|
||||
- `Context.Request()`
|
||||
- `Context.ResponseWriter()`
|
||||
|
||||
However except the unique Iris features and helpers that Iris Context offers, for easier development, we provide some wrappers of existing `net/http` capabilities as well.
|
||||
However, except the unique Iris features and helpers that Iris Context offers, for easier development, we provide some wrappers of existing `net/http` capabilities as well.
|
||||
|
||||
This is the full list of methods that can help you with URL query string.
|
||||
This is the full list of methods that can help you when working with URL query string.
|
||||
|
||||
```go
|
||||
// URLParam returns true if the url parameter exists, otherwise false.
|
||||
|
@ -15,7 +15,8 @@ URLParamExists(name string) bool
|
|||
URLParamDefault(name string, def string) string
|
||||
// URLParam returns the get parameter from a request, if any.
|
||||
URLParam(name string) string
|
||||
// URLParamTrim returns the url query parameter with trailing white spaces removed from a request.
|
||||
// URLParamTrim returns the url query parameter with
|
||||
// trailing white spaces removed from a request.
|
||||
URLParamTrim(name string) string
|
||||
// URLParamTrim returns the escaped url query parameter from a request.
|
||||
URLParamEscape(name string) string
|
||||
|
|
Loading…
Reference in New Issue
Block a user