Skip to content

newgroundsiodotnet.ngioserverrequest

GlitchyPSIX edited this page Mar 30, 2025 · 4 revisions

NgioServerRequest

Namespace: NewgroundsIODotNet

Don't instantiate this class directly. Let a NgioCommunicator implementation handle that.

public class NgioServerRequest

Inheritance ObjectNgioServerRequest

Properties

SecurityLevel

Sets whether the server request is Secure. Used for the JSON converter to determine whether to serialize as encrypted.

public SecurityLevel SecurityLevel { get; set; }

Property Value

SecurityLevel

Secured

Whether the server request is coming from an app with encryption enabled.

public bool Secured { get; }

Property Value

Boolean

AppId

Your application's unique ID. Set from the Communicator's information.

public string AppId { get; }

Property Value

String

ExecutedComponents

An Execute (component request) object ,or array of one-or-more Execute objects.

public INgioComponentRequest[] ExecutedComponents { get; set; }

Property Value

INgioComponentRequest[]

SessionId

Session ID to be used with this request. Only set manually if you know what you're doing.

public string SessionId { get; set; }

Property Value

String

Debug

If set to true, calls will be executed in debug mode.

public bool Debug { get; set; }

Property Value

Boolean

Echo

An optional value that will be returned, verbatim, in the NgioServerResponse object.

public object Echo { get; set; }

Property Value

Object

Constructors

NgioServerRequest(NgioCommunicator, Nullable<Session>)

public NgioServerRequest(NgioCommunicator communicator, Nullable<Session> forceSession)

Parameters

communicator NgioCommunicator

forceSession Nullable<Session>

Clone this wiki locally