Skip to content

Commit

Permalink
Keep old documentation for set_cookie/5
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Nov 1, 2015
1 parent 1848ec7 commit d20b250
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ The Bridge modules export the following functions:
{secure, false},
{http_only, false}
]
* **sbw:set_cookie(Name, Value, Path, MinutesToLive, Bridge)**
*(deprecated)* - set a cookie for the defined `Path` with `MinutesToLive` to
define the max age of the cookie. Deprecated in favor of `sbw:set_cookie/4`.
* **sbw:clear_cookies(Bridge)** - clear all previously set cookies.
* **sbw:set_response_data(Data, Bridge)** - set the data to return in the response. Usually HTML
goes here.
Expand Down

0 comments on commit d20b250

Please sign in to comment.