livery_client_cookie_store_ets (livery v0.4.3)
View SourceThe default cookie jar store: a public ETS table.
livery_client:cookie_jar/0,1 uses it implicitly, so you rarely name it
directly. The constructor creates one unnamed public table per jar and
hands it back as the opaque store handle; every request process that runs
the client reads and writes the same table. The table is owned by the
process that built the jar, so build the jar under a process that outlives
its requests.
Summary
Functions
-spec delete(ets:tid(), livery_client_cookie_store:key()) -> ok.
-spec get(ets:tid()) -> [livery_client_cookie_store:cookie()].
-spec put(ets:tid(), livery_client_cookie_store:key(), livery_client_cookie_store:cookie()) -> ok.