s&box docs

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.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.CookieContainer

On this page