Api Sandbox CookieContainer
class

CookieContainer

public sealed class CookieContainer

Methods

Void SetString(String key, String value)

Set a cookie to be stored between sessions. The cookie will expire one month from when it was set.

String GetString(String key, String fallback = )

Get a stored session cookie.

Boolean TryGetString(String key, String val)

Get a stored session cookie.

Boolean TryGet(String key, T val)
T Get(String key, T fallback)

Load JSON encodable data from cookies

Void Set(String key, T value)

Set JSON encodable object to data

Void Remove(String key)

Removes a cookie from the cache entirely

key
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.CookieContainer