Did you know ... Search Documentation:
Predicate write_cookies/3
 http:write_cookies(+Out, +Parts, +Options) is semidet[multifile, library(http/http_open)]
Emit a Cookie: header for the current connection. Out is an open stream to the HTTP server, Parts is the broken-down request (see uri_components/2) and Options is the list of options passed to http_open. The predicate is called as if using ignore/1.
See also
- complements http:update_cookies/3.
- library(http/http_cookie) implements cookie handling on top of these hooks.
 http:write_cookies(+Out, +Parts, +Options) is det[multifile, library(http/http_cookie)]
Emit a cookie header for the current request.