parseHTTPCookie

Parses the cookie from a header field, returning the name of the cookie. Implements an algorithm equivalent to https://tools.ietf.org/html/rfc6265#section-5.2

  1. string parseHTTPCookie(string header_string, Cookie dst)
    @safe
    string
    parseHTTPCookie
    (,
    scope Cookie dst
    )
  2. Tuple!(string, Cookie) parseHTTPCookie(string header_string)

Return Value

Type: string

the cookie name as return value, populates the dst argument or allocates on the GC for the tuple overload.

Meta