From 5ff790b8d2b04152d0bf851cbf759f3c33cf53e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 25 Mar 2020 14:09:51 +0100 Subject: Gun 2.0.0-pre.2 and Cowlib 2.9.0 --- docs/en/gun/2.0/manual/gun_cookies_list/index.html | 192 +++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 docs/en/gun/2.0/manual/gun_cookies_list/index.html (limited to 'docs/en/gun/2.0/manual/gun_cookies_list/index.html') diff --git a/docs/en/gun/2.0/manual/gun_cookies_list/index.html b/docs/en/gun/2.0/manual/gun_cookies_list/index.html new file mode 100644 index 00000000..c7eea531 --- /dev/null +++ b/docs/en/gun/2.0/manual/gun_cookies_list/index.html @@ -0,0 +1,192 @@ + + + + + + + + + + Nine Nines: gun_cookies_list(3) + + + + + + + + + + + + + + + + +
+
+
+
+ +

gun_cookies_list(3)

+ +

Name

+

gun_cookies_list - Cookie store backend: in-memory, per connection

+

Description

+

The gun_cookies_list module implements a cookie store backend that keeps all the cookie data in-memory and tied to a specific connection.

+

It is possible to implement a custom backend on top of gun_cookies_list in order to add persistence or sharing properties.

+

Exports

+

This module implements the callbacks defined in gun_cookies(3).

+

Types

+

opts()

+
+
opts() :: #{
+}
+
+

Cookie store backend options.

+

There are currently no options available for this backend.

+ +

Changelog

+
  • 2.0: Module introduced. +
  • +
+

Examples

+
Open a connection with a cookie store configured
+
+
{ok, ConnPid} = gun:open(Host, Port, #{
+    cookie_store => gun_cookies_list:init(#{})
+})
+
+

See also

+

gun(7), gun_cookies(3)

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

+ Gun + 2.0 + 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.

+ + + +
+
+
+
+ + + + + + + + + -- cgit v1.2.3