diff options
author | Loïc Hoguin <[email protected]> | 2019-10-04 15:25:24 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-04 15:27:33 +0200 |
commit | 490056310be890ced37e6fb2899e573bb388db89 (patch) | |
tree | 814d5eb55f92e9942269a05e4c9598e19a256530 /index.xml | |
parent | 9c173da6bd647a101bacf38aea488f5e2b304c62 (diff) | |
download | ninenines.eu-490056310be890ced37e6fb2899e573bb388db89.tar.gz ninenines.eu-490056310be890ced37e6fb2899e573bb388db89.tar.bz2 ninenines.eu-490056310be890ced37e6fb2899e573bb388db89.zip |
Add cow_cookie manual
Diffstat (limited to 'index.xml')
-rw-r--r-- | index.xml | 61 |
1 files changed, 61 insertions, 0 deletions
@@ -3283,6 +3283,46 @@ In Erlang though, you probably wouldn&apos;t want an algorithm.</description </item> <item> + <title>cow_cookie(3)</title> + <link>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie/</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie/</guid> + <description>Name cow_cookie - Cookies +Description The module cow_cookie provides functions for parsing and manipulating cookie headers. +Exports cow_cookie:parse_cookie(3) - Parse a cookie header cow_cookie:setcookie(3) - Generate a set-cookie header Types cookie_opts() cookie_opts() :: [Option] Option :: {domain, binary()} | {http_only, boolean()} | {max_age, non_neg_integer()} | {path, binary()} | {same_site, lax | strict} | {secure, boolean()} Options for the set-cookie header. They are added to the header as attributes.</description> + </item> + + <item> + <title>cow_cookie:parse_cookie(3)</title> + <link>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie.parse_cookie/</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie.parse_cookie/</guid> + <description>Name cow_cookie:parse_cookie - Parse a cookie header +Description parse_cookie(Cookie :: binary()) -&gt; [{binary(), binary()}] Parse a cookie header. +Arguments Cookie The cookie header value. + Return value A list of cookie name/value pairs is returned on success. +An exception is thrown in the event of a parse error. +Changelog 1.0: Function introduced. Examples Parse a cookie header Cookies = cow_cookie:parse_cookie(CookieHd). See also cow_cookie(3), cow_cookie:setcookie(3)</description> + </item> + + <item> + <title>cow_cookie:setcookie(3)</title> + <link>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie.setcookie/</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://ninenines.eu/docs/en/cowlib/2.7/manual/cow_cookie.setcookie/</guid> + <description>Name cow_cookie:setcookie - Generate a set-cookie header +Description setcookie(Name :: iodata(), Value :: iodata(), Opts :: cow_cookie:cookie_opts()) -&gt; iolist() Generate a set-cookie header. +Arguments Name Cookie name. + Value Cookie value. + Opts Options added to the set-cookie header as attributes. + Return value An iolist with the generated set-cookie header value. +Changelog 1.0: Function introduced. Examples Generate a set-cookie header SetCookie = cow_cookie:setcookie(&lt;&lt;"sessionid"&gt;&gt;, ID, #{ http_only =&gt; true, secure =&gt; true }).</description> + </item> + + <item> <title>Cowboy Function Reference</title> <link>https://ninenines.eu/docs/en/cowboy/2.2/manual/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> @@ -7594,6 +7634,27 @@ init(Req, State) -&gt; {cowboy_websocket, Req, State} | {cowboy_websocket, R </item> <item> + <title>Cowlib Function Reference</title> + <link>https://ninenines.eu/docs/en/cowlib/2.7/manual/</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://ninenines.eu/docs/en/cowlib/2.7/manual/</guid> + <description>cow_cookie(3) cow_cookie:parse_cookie(3) cow_cookie:setcookie(3) cowlib(7) </description> + </item> + + <item> + <title>cowlib(7)</title> + <link>https://ninenines.eu/docs/en/cowlib/2.7/manual/cowlib_app/</link> + <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> + + <guid>https://ninenines.eu/docs/en/cowlib/2.7/manual/cowlib_app/</guid> + <description>Name cowlib - Support library for manipulating Web protocols +Description Cowlib provides libraries for parsing and building messages for various Web protocols, including HTTP/1.1, HTTP/2 and Websocket. +It is optimized for completeness rather than speed. No value is ignored, they are all returned. +Modules cow_cookie(3) - Cookies Dependencies crypto - Crypto functions All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once:</description> + </item> + + <item> <title>Gun Function Reference</title> <link>https://ninenines.eu/docs/en/gun/1.0/manual/</link> <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate> |