API ReferenceSandbox
public sealed class Sandbox.CookieContainer
Methods
Showing 7 methods
public T Get(string key, T fallback)
Load JSON encodable data from cookies
public string GetString(string key, string fallback)
Get a stored session cookie.
public void Remove(string key)
Removes a cookie from the cache entirely
public void Set(string key, T value)
Set JSON encodable object to data
public 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.
public bool TryGet(string key, T val)
public bool TryGetString(string key, string val)
Get a stored session cookie.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.CookieContainer |