Skip to content

newgroundsiodotnet.components.requests.loader.loaderurlrequest

GlitchyPSIX edited this page Mar 30, 2025 · 4 revisions

LoaderUrlRequest

Namespace: NewgroundsIODotNet.Components.Requests.Loader

Request that represents one of the many specific Loader URL types Newgrounds provides.

public class LoaderUrlRequest : NewgroundsIODotNet.Components.Interfaces.INgioComponentRequest

Inheritance ObjectLoaderUrlRequest
Implements INgioComponentRequest

Properties

RequiresSecureCall

public bool RequiresSecureCall { get; }

Property Value

Boolean

Component

public string Component { get; }

Property Value

String

Parameters

Component's parameters.

public Dictionary<string, object> Parameters { get; }

Property Value

Dictionary<String, Object>

Remarks:

Do NOT modify the "redirect" parameter manually, as it will not return a JSON response if not false and the library only handles JSON responses.

Echo

public object Echo { get; set; }

Property Value

Object

Host

Host where the game is running

public string Host { get; set; }

Property Value

String

LogStat

Whether to log this referral call in Stats

public bool LogStat { get; set; }

Property Value

Boolean

Constructors

LoaderUrlRequest(Dictionary<String, Object>, Object)

Use this constructor only if you know what you're doing.

public LoaderUrlRequest(Dictionary<string, object> parameters, object echo)

Parameters

parameters Dictionary<String, Object>
Manually provided component parameters

echo Object
NGIO Echo response

LoaderUrlRequest(StandardLoaderType, String, Boolean)

public LoaderUrlRequest(StandardLoaderType type, string host, bool logStat)

Parameters

type StandardLoaderType

host String

logStat Boolean

Clone this wiki locally