aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_cookies.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_cookies.erl')
-rw-r--r--src/cowboy_cookies.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cowboy_cookies.erl b/src/cowboy_cookies.erl
index 5ab27e2..4accf14 100644
--- a/src/cowboy_cookies.erl
+++ b/src/cowboy_cookies.erl
@@ -17,7 +17,10 @@
-module(cowboy_cookies).
--export([parse_cookie/1, cookie/3, cookie/2]). %% API.
+%% API.
+-export([parse_cookie/1]).
+-export([cookie/3]).
+-export([cookie/2]).
%% Types.
-type kv() :: {Name::binary(), Value::binary()}.
@@ -26,7 +29,10 @@
| {local_time, calendar:datetime()}
| {domain, binary()} | {path, binary()}
| {secure, true | false} | {http_only, true | false}.
--export_type([kv/0, kvlist/0, cookie_option/0]).
+
+-export_type([kv/0]).
+-export_type([kvlist/0]).
+-export_type([cookie_option/0]).
-define(QUOTE, $\").