-
Notifications
You must be signed in to change notification settings - Fork 0
newgroundsiodotnet.ngioserverrequest
Namespace: NewgroundsIODotNet
Don't instantiate this class directly. Let a NgioCommunicator implementation handle that.
public class NgioServerRequest
Inheritance Object → NgioServerRequest
Sets whether the server request is Secure. Used for the JSON converter to determine whether to serialize as encrypted.
public SecurityLevel SecurityLevel { get; set; }
Whether the server request is coming from an app with encryption enabled.
public bool Secured { get; }
Your application's unique ID. Set from the Communicator's information.
public string AppId { get; }
An Execute (component request) object ,or array of one-or-more Execute objects.
public INgioComponentRequest[] ExecutedComponents { get; set; }
Session ID to be used with this request. Only set manually if you know what you're doing.
public string SessionId { get; set; }
If set to true
, calls will be executed in debug mode.
public bool Debug { get; set; }
An optional value that will be returned, verbatim, in the NgioServerResponse object.
public object Echo { get; set; }
public NgioServerRequest(NgioCommunicator communicator, Nullable<Session> forceSession)
communicator
NgioCommunicator
forceSession
Nullable<Session>