cookiesFromRequest

fun cookiesFromRequest(msg: Message): <Error class: unknown class>

Parses @msg's Cookie request header and returns a struct@GLib.SList of SoupCookies.

As the "Cookie" header, unlike "Set-Cookie", only contains cookie names and values, none of the other #SoupCookie fields will be filled in. (Thus, you can't generally pass a cookie returned from this method directly to func@cookies_to_response.)

Return

a #GSList of SoupCookies, which can be freed with method@Cookie.free.

Parameters

msg

a #SoupMessage containing a "Cookie" request header