Class HttpStateFileLoader
Save/Load a state from a web URL
Implements
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class HttpStateFileLoader : IABRStateLoader
Constructors
| Improve this Doc View SourceHttpStateFileLoader()
Save/Load a state from a web URL
Declaration
public HttpStateFileLoader()
Methods
| Improve this Doc View SourceGetState(string)
Load a state based on some text (perhaps a JSON string, a file path, or URL)
Declaration
public JObject GetState(string url)
Parameters
| Type | Name | Description |
|---|---|---|
| string | url |
Returns
| Type | Description |
|---|---|
| JObject |
SaveState(string, string)
Save a serialized JSON state with a particular name
Declaration
public void SaveState(string name, string serializedState)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | serializedState |