A class in Root.Township, the global namespace.
Static helper that posts a JSON string to a URL in the background and ignores the result. Nothing in the decompiled code calls it.
Constructors
| Member | What it is |
|---|
WebInterface() | Creates a WebInterface with default values. |
Fields
1 private and internal field
| Member | What it is |
|---|
private static WebClient client | Shared WebClient with a JSON content type header. |
Properties
| Member | What it is |
|---|
static bool IsOfflineMode { get; set; } | When true, FireAndForget sends nothing. |
Methods
| Member | What it is |
|---|
static void FireAndForget(string uri, string data) | Posts the data to the URI on a background task with the shared WebClient. Does nothing in offline mode; errors are swallowed. |