update README
This commit is contained in:
parent
ed124c7da7
commit
21102f82d3
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ It returns an optional and fetches the value of a `Request.Cookie`.
|
||||||
Get Request Cookie value by key:
|
Get Request Cookie value by key:
|
||||||
```zig
|
```zig
|
||||||
fn index(req: *zrv.Request) zrv.Response {
|
fn index(req: *zrv.Request) zrv.Response {
|
||||||
|
|
||||||
// Fetches the cookie value by cookie name.
|
// Fetches the cookie value by cookie name.
|
||||||
// The `cookie` method will return an optional and will be `null`
|
// The `cookie` method will return an optional and will be `null`
|
||||||
// in case that the cookie does not exist.
|
// in case that the cookie does not exist.
|
||||||
|
|
Loading…
Reference in a new issue