WeavyClientOptions Class


Options for the Weavy client script.

public class WeavyClientOptions
System.Object → WeavyClientOptions


WeavyClientOptions() Initializes a new instace of the WeavyClientOptions class.


Href Url for finding connected "bubbles"?
Id Gets or sets a unique id for the weavy client instance.
InstallationName Gets the name of the installation.
Plugins Gets or sets plugin settings.
Status Gets system status.
StatusUrl Gets url for detecting if client can access the server.
Url Gets or sets the URL to the Weavy-installation to connect to.
UserId Gets the id of the currently signed in user, null if not signed in.
Version Gets or sets the client version (used to detect if client needs to be upgraded to match server version).

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.