# Module cookies

This module implements helper procs for parsing Cookies.

# Imports

strtabs, times

# Procs

    proc parseCookies*(s: string): PStringTable

  parses cookies into a string table.

    proc setCookie*(key, value: string; domain = ""; path = ""; expires = "";
                    noName = false): string

  Creates a command in the format of `Set-Cookie: key=value; Domain=...; ...`

    proc setCookie*(key, value: string; expires: TTimeInfo; domain = ""; path = "";
                    noName = false): string

  Creates a command in the format of `Set-Cookie: key=value; Domain=...; ...`

  Note: UTC is assumed as the timezone for `expires`.

Generated: 2012-09-23 21:47:54 UTC