Skip to content

Commit

Permalink
Modified README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
binkoni committed Oct 31, 2016
1 parent eced32e commit bdf7463
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ $ sudo luarocks install gonapps-cookie
```lua
local cookieModule = require "gonapps.cookie"
local cookie = cookieModule.new("aaa=bbb; ccc=ddd; HttpOnly")

if cookie.flags["HttpOnly"] then
print("HTTP Only Flag")
end

print(cookie.data["ccc"])

print(cookie.toString())
print("ccc", cookie.data["ccc"])
print(cookie:toString())
```
## License
LGPLv3

0 comments on commit bdf7463

Please sign in to comment.