Skip to main content

WebInterface

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​

MemberWhat it is
WebInterface()Creates a WebInterface with default values.

Fields​

1 private and internal field
MemberWhat it is
private static WebClient clientShared WebClient with a JSON content type header.

Properties​

MemberWhat it is
static bool IsOfflineMode { get; set; }When true, FireAndForget sends nothing.

Methods​

MemberWhat 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.