Cookie.toSetCookieHeader

string toSetCookieHeader()

Serializes cookie in the format used by the Set-Cookie header.

i.e. for sending a cookie from a classServer to a client.

Returns

the header