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)
  2. Tuple!(string, Cookie) parseHTTPCookie(string header_string)
    @safe
    Tuple!(string, Cookie)
    parseHTTPCookie
    ()

Return Value

Type: Tuple!(string, Cookie)

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

Meta