From eb808a3f8bbd97d2a2ea0114b43b708a17b44066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 11 Apr 2025 14:34:51 +0200 Subject: Gun 2.2.0 --- .../2.10/manual/cow_cookie.cookie/index.html | 2 + .../2.10/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.10/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.10/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.10/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.10/manual/index.html | 2 + .../2.11/manual/cow_cookie.cookie/index.html | 2 + .../2.11/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.11/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.11/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.11/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.11/manual/index.html | 2 + .../2.12/manual/cow_cookie.cookie/index.html | 2 + .../2.12/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.12/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.12/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.12/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.12/manual/index.html | 2 + .../2.13/manual/cow_cookie.cookie/index.html | 2 + .../2.13/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.13/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.13/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.13/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.13/manual/index.html | 2 + .../2.14/manual/cow_cookie.cookie/index.html | 2 + .../2.14/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.14/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.14/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.14/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.14/manual/index.html | 2 + .../2.15/manual/cow_cookie.cookie/index.html | 193 +++++++++++++++++ .../2.15/manual/cow_cookie.parse_cookie/index.html | 195 +++++++++++++++++ .../manual/cow_cookie.parse_set_cookie/index.html | 202 +++++++++++++++++ .../2.15/manual/cow_cookie.setcookie/index.html | 205 ++++++++++++++++++ docs/en/cowlib/2.15/manual/cow_cookie/index.html | 239 +++++++++++++++++++++ docs/en/cowlib/2.15/manual/cowlib_app/index.html | 184 ++++++++++++++++ docs/en/cowlib/2.15/manual/index.html | 184 ++++++++++++++++ .../2.8/manual/cow_cookie.parse_cookie/index.html | 2 + .../2.8/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.8/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.8/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.8/manual/index.html | 2 + .../cowlib/2.9/manual/cow_cookie.cookie/index.html | 2 + .../2.9/manual/cow_cookie.parse_cookie/index.html | 2 + .../manual/cow_cookie.parse_set_cookie/index.html | 2 + .../2.9/manual/cow_cookie.setcookie/index.html | 2 + docs/en/cowlib/2.9/manual/cow_cookie/index.html | 2 + docs/en/cowlib/2.9/manual/cowlib_app/index.html | 2 + docs/en/cowlib/2.9/manual/index.html | 2 + 54 files changed, 1496 insertions(+) create mode 100644 docs/en/cowlib/2.15/manual/cow_cookie.cookie/index.html create mode 100644 docs/en/cowlib/2.15/manual/cow_cookie.parse_cookie/index.html create mode 100644 docs/en/cowlib/2.15/manual/cow_cookie.parse_set_cookie/index.html create mode 100644 docs/en/cowlib/2.15/manual/cow_cookie.setcookie/index.html create mode 100644 docs/en/cowlib/2.15/manual/cow_cookie/index.html create mode 100644 docs/en/cowlib/2.15/manual/cowlib_app/index.html create mode 100644 docs/en/cowlib/2.15/manual/index.html (limited to 'docs/en/cowlib') diff --git a/docs/en/cowlib/2.10/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.10/manual/cow_cookie.cookie/index.html index 2a9571eb..eddb0f4a 100644 --- a/docs/en/cowlib/2.10/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.10/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.10/manual/cow_cookie.parse_cookie/index.html index 17c0c17a..d391fb19 100644 --- a/docs/en/cowlib/2.10/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.10/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.10/manual/cow_cookie.parse_set_cookie/index.html index 5192ea56..019c8077 100644 --- a/docs/en/cowlib/2.10/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.10/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.10/manual/cow_cookie.setcookie/index.html index 1fd6e33e..3a4bce9c 100644 --- a/docs/en/cowlib/2.10/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.10/manual/cow_cookie.setcookie/index.html @@ -137,6 +137,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/cow_cookie/index.html b/docs/en/cowlib/2.10/manual/cow_cookie/index.html index 5d1b1711..620cf753 100644 --- a/docs/en/cowlib/2.10/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.10/manual/cow_cookie/index.html @@ -171,6 +171,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/cowlib_app/index.html b/docs/en/cowlib/2.10/manual/cowlib_app/index.html index 4660d18a..c7c2cb46 100644 --- a/docs/en/cowlib/2.10/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.10/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.10/manual/index.html b/docs/en/cowlib/2.10/manual/index.html index e174b4b2..e0bc6643 100644 --- a/docs/en/cowlib/2.10/manual/index.html +++ b/docs/en/cowlib/2.10/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.11/manual/cow_cookie.cookie/index.html index 34c5a35b..753207e0 100644 --- a/docs/en/cowlib/2.11/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.11/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.11/manual/cow_cookie.parse_cookie/index.html index b240bbda..da0fc6c6 100644 --- a/docs/en/cowlib/2.11/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.11/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.11/manual/cow_cookie.parse_set_cookie/index.html index 5a60875b..2a7f9902 100644 --- a/docs/en/cowlib/2.11/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.11/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.11/manual/cow_cookie.setcookie/index.html index 166330d2..b1ae8e9d 100644 --- a/docs/en/cowlib/2.11/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.11/manual/cow_cookie.setcookie/index.html @@ -137,6 +137,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cow_cookie/index.html b/docs/en/cowlib/2.11/manual/cow_cookie/index.html index 4fcd8895..8f1e46a1 100644 --- a/docs/en/cowlib/2.11/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.11/manual/cow_cookie/index.html @@ -171,6 +171,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/cowlib_app/index.html b/docs/en/cowlib/2.11/manual/cowlib_app/index.html index 5e016f0b..4faf1fd5 100644 --- a/docs/en/cowlib/2.11/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.11/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.11/manual/index.html b/docs/en/cowlib/2.11/manual/index.html index b9cc01f4..fdfcaa03 100644 --- a/docs/en/cowlib/2.11/manual/index.html +++ b/docs/en/cowlib/2.11/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.12/manual/cow_cookie.cookie/index.html index 01ccf74b..a74572b6 100644 --- a/docs/en/cowlib/2.12/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.12/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.12/manual/cow_cookie.parse_cookie/index.html index b78c2dcd..1b6a46d1 100644 --- a/docs/en/cowlib/2.12/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.12/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.12/manual/cow_cookie.parse_set_cookie/index.html index 73c76278..75cd1067 100644 --- a/docs/en/cowlib/2.12/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.12/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.12/manual/cow_cookie.setcookie/index.html index 9010369e..dd851c5e 100644 --- a/docs/en/cowlib/2.12/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.12/manual/cow_cookie.setcookie/index.html @@ -139,6 +139,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cow_cookie/index.html b/docs/en/cowlib/2.12/manual/cow_cookie/index.html index 8e7b494a..a37756c0 100644 --- a/docs/en/cowlib/2.12/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.12/manual/cow_cookie/index.html @@ -173,6 +173,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/cowlib_app/index.html b/docs/en/cowlib/2.12/manual/cowlib_app/index.html index b3867d16..209456ea 100644 --- a/docs/en/cowlib/2.12/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.12/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.12/manual/index.html b/docs/en/cowlib/2.12/manual/index.html index 574fb312..4073353f 100644 --- a/docs/en/cowlib/2.12/manual/index.html +++ b/docs/en/cowlib/2.12/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.13/manual/cow_cookie.cookie/index.html index 7b921813..19b307eb 100644 --- a/docs/en/cowlib/2.13/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.13/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.13/manual/cow_cookie.parse_cookie/index.html index 9a7481a7..e3a4180a 100644 --- a/docs/en/cowlib/2.13/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.13/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.13/manual/cow_cookie.parse_set_cookie/index.html index 24ec444f..5af0eaad 100644 --- a/docs/en/cowlib/2.13/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.13/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.13/manual/cow_cookie.setcookie/index.html index 120a4e43..b4b219a9 100644 --- a/docs/en/cowlib/2.13/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.13/manual/cow_cookie.setcookie/index.html @@ -139,6 +139,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cow_cookie/index.html b/docs/en/cowlib/2.13/manual/cow_cookie/index.html index ef91bda1..f5a9f4c5 100644 --- a/docs/en/cowlib/2.13/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.13/manual/cow_cookie/index.html @@ -173,6 +173,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/cowlib_app/index.html b/docs/en/cowlib/2.13/manual/cowlib_app/index.html index c1fc4a2a..c161e023 100644 --- a/docs/en/cowlib/2.13/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.13/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.13/manual/index.html b/docs/en/cowlib/2.13/manual/index.html index c243f40a..8cffdca4 100644 --- a/docs/en/cowlib/2.13/manual/index.html +++ b/docs/en/cowlib/2.13/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.14/manual/cow_cookie.cookie/index.html index 31627142..2bdea07e 100644 --- a/docs/en/cowlib/2.14/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.14/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.14/manual/cow_cookie.parse_cookie/index.html index f223e7d6..1a79a8da 100644 --- a/docs/en/cowlib/2.14/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.14/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.14/manual/cow_cookie.parse_set_cookie/index.html index 0eeff992..a5cf3a34 100644 --- a/docs/en/cowlib/2.14/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.14/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.14/manual/cow_cookie.setcookie/index.html index 0473994e..6b314385 100644 --- a/docs/en/cowlib/2.14/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.14/manual/cow_cookie.setcookie/index.html @@ -139,6 +139,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cow_cookie/index.html b/docs/en/cowlib/2.14/manual/cow_cookie/index.html index 40f39626..53bcfbcf 100644 --- a/docs/en/cowlib/2.14/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.14/manual/cow_cookie/index.html @@ -173,6 +173,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/cowlib_app/index.html b/docs/en/cowlib/2.14/manual/cowlib_app/index.html index bf2ca322..d5a8eb4c 100644 --- a/docs/en/cowlib/2.14/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.14/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.14/manual/index.html b/docs/en/cowlib/2.14/manual/index.html index e0613609..d66010a4 100644 --- a/docs/en/cowlib/2.14/manual/index.html +++ b/docs/en/cowlib/2.14/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.15/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.15/manual/cow_cookie.cookie/index.html new file mode 100644 index 00000000..bb766e32 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cow_cookie.cookie/index.html @@ -0,0 +1,193 @@ + + + + + + + + + + Nine Nines: cow_cookie:cookie(3) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cow_cookie:cookie(3)

    + +

    Name

    +

    cow_cookie:cookie - Generate a cookie header

    +

    Description

    +
    +
    cookie(Cookies) -> iolist()
    +
    +Cookies :: [{Name :: iodata(), Value :: iodata()}]
    +
    +

    Generate a cookie header.

    +

    Arguments

    +
    Cookies
    +

    A list of pairs of cookie name and value.

    +
    +
    +

    Return value

    +

    An iolist with the generated cookie header value.

    +

    Changelog

    +
    • 2.9: Function introduced. +
    • +
    +

    Examples

    +
    Generate a cookie header
    +
    +
    Cookie = cow_cookie:cookie([{<<"sessionid">>, ID}]).
    +
    +

    See also

    +

    cow_cookie(3), cow_cookie:parse_cookie(3), cow_cookie:parse_set_cookie(3), cow_cookie:setcookie(3)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.15/manual/cow_cookie.parse_cookie/index.html new file mode 100644 index 00000000..6268e3b3 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cow_cookie.parse_cookie/index.html @@ -0,0 +1,195 @@ + + + + + + + + + + Nine Nines: cow_cookie:parse_cookie(3) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cow_cookie:parse_cookie(3)

    + +

    Name

    +

    cow_cookie:parse_cookie - Parse a cookie header

    +

    Description

    +
    +
    parse_cookie(Cookie :: binary())
    +    -> [{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

    +
    • 2.9: Fixes to the parser may lead to potential incompatibilities. A cookie name starting with $ is no longer ignored. A cookie without a = will be parsed as the value of the cookie named <<>> (empty name). +
    • +
    • 1.0: Function introduced. +
    • +
    +

    Examples

    +
    Parse a cookie header
    +
    +
    Cookies = cow_cookie:parse_cookie(CookieHd).
    +
    +

    See also

    +

    cow_cookie(3), cow_cookie:parse_set_cookie(3), cow_cookie:cookie(3), cow_cookie:setcookie(3)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.15/manual/cow_cookie.parse_set_cookie/index.html new file mode 100644 index 00000000..768cde36 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cow_cookie.parse_set_cookie/index.html @@ -0,0 +1,202 @@ + + + + + + + + + + Nine Nines: cow_cookie:parse_set_cookie(3) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cow_cookie:parse_set_cookie(3)

    + +

    Name

    +

    cow_cookie:parse_set_cookie - Parse a set-cookie header

    +

    Description

    +
    +
    parse_set_cookie(SetCookie :: binary())
    +    -> {ok, Name, Value, Attrs} | ignore
    +
    +Name  :: binary()
    +Value :: binary()
    +Attrs :: cow_cookie:cookie_attrs()
    +
    +

    Parse a set-cookie header.

    +

    Arguments

    +
    SetCookie
    +

    The set-cookie header value.

    +
    +
    +

    Return value

    +

    An ok tuple with the cookie name, value and attributes is returned on success.

    +

    An atom ignore is returned when the cookie has both an empty name and an empty value, and must be ignored.

    +

    Changelog

    +
    • 2.9: Function introduced. +
    • +
    +

    Examples

    +
    Parse a cookie header
    +
    +
    case cow_cookie:parse_set_cookie(SetCookieHd) of
    +    {ok, Name, Value, Attrs} ->
    +        cookie_engine_set_cookie(Name, Value, Attrs);
    +    ignore ->
    +        do_nothing()
    +end.
    +
    +

    See also

    +

    cow_cookie(3), cow_cookie:parse_cookie(3), cow_cookie:cookie(3), cow_cookie:setcookie(3)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.15/manual/cow_cookie.setcookie/index.html new file mode 100644 index 00000000..594fc65e --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cow_cookie.setcookie/index.html @@ -0,0 +1,205 @@ + + + + + + + + + + Nine Nines: cow_cookie:setcookie(3) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cow_cookie:setcookie(3)

    + +

    Name

    +

    cow_cookie:setcookie - Generate a set-cookie header

    +

    Description

    +
    +
    setcookie(Name  :: iodata(),
    +          Value :: iodata(),
    +          Opts  :: cow_cookie:cookie_opts())
    +    -> 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

    +
    • 2.12: The Version attribute is no longer generated. +
    • +
    • 1.0: Function introduced. +
    • +
    +

    Examples

    +
    Generate a set-cookie header
    +
    +
    SetCookie = cow_cookie:setcookie(<<"sessionid">>, ID, #{
    +    http_only => true,
    +    secure    => true
    +}).
    +
    +

    See also

    +

    cow_cookie(3), cow_cookie:parse_cookie(3), cow_cookie:parse_set_cookie(3), cow_cookie:cookie(3)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/cow_cookie/index.html b/docs/en/cowlib/2.15/manual/cow_cookie/index.html new file mode 100644 index 00000000..6b7d5116 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cow_cookie/index.html @@ -0,0 +1,239 @@ + + + + + + + + + + Nine Nines: cow_cookie(3) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cow_cookie(3)

    + +

    Name

    +

    cow_cookie - Cookies

    +

    Description

    +

    The module cow_cookie provides functions for parsing and manipulating cookie headers.

    +

    Exports

    + +

    Types

    + +
    +
    cookie_attrs() :: #{
    +    expires => calendar:datetime(),
    +    max_age => calendar:datetime(),
    +    domain => binary(),
    +    path => binary(),
    +    secure => true,
    +    http_only => true,
    +    same_site => default | none | strict | lax
    +}
    +
    +

    Cookie attributes parsed from the set-cookie header. The attributes must be passed as-is to a cookie store engine for processing, along with the cookie name and value. More information about the attributes can be found in RFC 6265.

    + +
    +
    cookie_opts() :: #{
    +    domain    => binary(),
    +    http_only => boolean(),
    +    max_age   => non_neg_integer(),
    +    path      => binary(),
    +    same_site => default | none | strict | lax,
    +    secure    => boolean()
    +}
    +
    +

    Options for the set-cookie header. They are added to the header as attributes. More information about the options can be found in RFC 6265.

    +

    The following options are defined:

    +
    domain
    +

    Hosts to which the cookie will be sent. By default it will only be sent to the origin server.

    +
    +
    http_only
    +

    Whether the cookie should be restricted to HTTP requests, or it should also be exposed to other APIs, for example Javascript. By default there are no restrictions.

    +
    +
    max_age
    +

    Maximum lifetime of the cookie, in seconds. By default the cookie is kept for the duration of the session.

    +
    +
    path
    +

    Path to which the cookie will be sent. By default it will be sent to the current "directory" of the effective request URI.

    +
    +
    same_site
    +

    Whether the cookie should be sent along with cross-site requests. This attribute is currently non-standard but is in the process of being standardized. Please refer to the RFC 6265 (bis) draft for details.

    +

    The default value for this attribute may vary depending on user agent and configuration. Browsers are known to be more strict over TCP compared to TLS.

    +
    +
    secure
    +

    Whether the cookie should be sent only on secure channels (for example TLS). Note that this does not guarantee the integrity of the cookie, only its confidentiality during transfer. By default there are no restrictions.

    +
    +
    +

    Changelog

    +
    • 2.12: The same_site attribute and option may now be set to default. +
    • +
    • 2.10: The same_site attribute and option may now be set to none. +
    • +
    • 2.9: The cookie_attrs type was added. +
    • +
    • 1.0: Module introduced. +
    • +
    +

    See also

    +

    cowlib(7), RFC 6265

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/cowlib_app/index.html b/docs/en/cowlib/2.15/manual/cowlib_app/index.html new file mode 100644 index 00000000..55a2f393 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/cowlib_app/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + Nine Nines: cowlib(7) + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    cowlib(7)

    + +

    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

    + +

    Dependencies

    +
    • crypto - Crypto functions +
    • +
    +

    All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once:

    +
    +
    {ok, _} = application:ensure_all_started(cowlib).
    +
    +

    Environment

    +

    The cowlib application does not define any application environment configuration parameters.

    +

    See also

    +

    cowboy(7), gun(7)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.15/manual/index.html b/docs/en/cowlib/2.15/manual/index.html new file mode 100644 index 00000000..40e15dd1 --- /dev/null +++ b/docs/en/cowlib/2.15/manual/index.html @@ -0,0 +1,184 @@ + + + + + + + + + + Nine Nines: Cowlib Function Reference + + + + + + + + + + + + + + + +
    +
    +
    +
    + +

    Cowlib Function Reference

    + +

    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

    + +

    Dependencies

    +
    • crypto - Crypto functions +
    • +
    +

    All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once:

    +
    +
    {ok, _} = application:ensure_all_started(cowlib).
    +
    +

    Environment

    +

    The cowlib application does not define any application environment configuration parameters.

    +

    See also

    +

    cowboy(7), gun(7)

    + + + + + + +
    + +
    + + +

    + Cowlib + 2.15 + Function Reference + +

    + + + +

    Navigation

    + +

    Version select

    + + +

    Like my work? Donate!

    +

    Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:

    +
    + + + + + + + + + +

    Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.

    + + + +
    +
    +
    +
    + + + + + + + + + diff --git a/docs/en/cowlib/2.8/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.8/manual/cow_cookie.parse_cookie/index.html index a2b08083..810c2fbf 100644 --- a/docs/en/cowlib/2.8/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.8/manual/cow_cookie.parse_cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.8/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.8/manual/cow_cookie.setcookie/index.html index d119892d..bd106b78 100644 --- a/docs/en/cowlib/2.8/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.8/manual/cow_cookie.setcookie/index.html @@ -137,6 +137,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.8/manual/cow_cookie/index.html b/docs/en/cowlib/2.8/manual/cow_cookie/index.html index 49a8e4a9..ba7212a3 100644 --- a/docs/en/cowlib/2.8/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.8/manual/cow_cookie/index.html @@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.8/manual/cowlib_app/index.html b/docs/en/cowlib/2.8/manual/cowlib_app/index.html index 185895dc..320b5442 100644 --- a/docs/en/cowlib/2.8/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.8/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.8/manual/index.html b/docs/en/cowlib/2.8/manual/index.html index 4369746d..573dc2d8 100644 --- a/docs/en/cowlib/2.8/manual/index.html +++ b/docs/en/cowlib/2.8/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cow_cookie.cookie/index.html b/docs/en/cowlib/2.9/manual/cow_cookie.cookie/index.html index 141b0d47..37280a2d 100644 --- a/docs/en/cowlib/2.9/manual/cow_cookie.cookie/index.html +++ b/docs/en/cowlib/2.9/manual/cow_cookie.cookie/index.html @@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cow_cookie.parse_cookie/index.html b/docs/en/cowlib/2.9/manual/cow_cookie.parse_cookie/index.html index c7da3cff..f09017a0 100644 --- a/docs/en/cowlib/2.9/manual/cow_cookie.parse_cookie/index.html +++ b/docs/en/cowlib/2.9/manual/cow_cookie.parse_cookie/index.html @@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cow_cookie.parse_set_cookie/index.html b/docs/en/cowlib/2.9/manual/cow_cookie.parse_set_cookie/index.html index ff16d625..9839b8e2 100644 --- a/docs/en/cowlib/2.9/manual/cow_cookie.parse_set_cookie/index.html +++ b/docs/en/cowlib/2.9/manual/cow_cookie.parse_set_cookie/index.html @@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cow_cookie.setcookie/index.html b/docs/en/cowlib/2.9/manual/cow_cookie.setcookie/index.html index 28b75081..afd1b40f 100644 --- a/docs/en/cowlib/2.9/manual/cow_cookie.setcookie/index.html +++ b/docs/en/cowlib/2.9/manual/cow_cookie.setcookie/index.html @@ -137,6 +137,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cow_cookie/index.html b/docs/en/cowlib/2.9/manual/cow_cookie/index.html index 330ecf11..2db417c0 100644 --- a/docs/en/cowlib/2.9/manual/cow_cookie/index.html +++ b/docs/en/cowlib/2.9/manual/cow_cookie/index.html @@ -168,6 +168,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/cowlib_app/index.html b/docs/en/cowlib/2.9/manual/cowlib_app/index.html index d3a9f9dc..10cfeebd 100644 --- a/docs/en/cowlib/2.9/manual/cowlib_app/index.html +++ b/docs/en/cowlib/2.9/manual/cowlib_app/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • diff --git a/docs/en/cowlib/2.9/manual/index.html b/docs/en/cowlib/2.9/manual/index.html index 2ecf5e64..a50b233b 100644 --- a/docs/en/cowlib/2.9/manual/index.html +++ b/docs/en/cowlib/2.9/manual/index.html @@ -118,6 +118,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.15
  • +
  • 2.14
  • 2.13
  • -- cgit v1.2.3