dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Options

RequestOptions Class

An object with the following properties that describe the request.
ArcGIS Maps SDK for JavaScript

public class RequestOptions :
System.IEquatable<dymaptic.GeoBlazor.Core.Options.RequestOptions>

Inheritance System.Object 🡒 RequestOptions

Implements System.IEquatable<RequestOptions>

Constructors

RequestOptions(Nullable, Nullable, Nullable, string, Nullable, Dictionary<string,object>, Dictionary<string,object>, Nullable, string, Nullable, Nullable, Nullable) Constructor

An object with the following properties that describe the request.
ArcGIS Maps SDK for JavaScript

public RequestOptions(System.Nullable<dymaptic.GeoBlazor.Core.Enums.AuthMode> AuthMode=null, System.Nullable<bool> CacheBust=null, System.Nullable<Microsoft.AspNetCore.Components.ElementReference> ElementReferenceBody=null, string? Headers=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.RequestMethod> Method=null, System.Collections.Generic.Dictionary<string,object?>? ObjectCollectionBody=null, System.Collections.Generic.Dictionary<string,object?>? Query=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.ResponseType> ResponseType=null, string? StringBody=null, System.Nullable<long> Timeout=null, System.Nullable<bool> UseProxy=null, System.Nullable<bool> WithCredentials=null);

Parameters

AuthMode System.Nullable<AuthMode>

Indicates if and how requests to ArcGIS Services are authenticated.
ArcGIS Maps SDK for JavaScript

CacheBust System.Nullable<System.Boolean>

If true, the browser will send a request to the server instead of using the browser’s local cache.
ArcGIS Maps SDK for JavaScript

ElementReferenceBody System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

Headers System.String

Headers to use for the request.
ArcGIS Maps SDK for JavaScript

Method System.Nullable<RequestMethod>

Indicates if the request should be made using the HTTP DELETE, HEAD, POST, or PUT method.
ArcGIS Maps SDK for JavaScript

ObjectCollectionBody System.Collections.Generic.Dictionary<System.String,System.Object>

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

Query System.Collections.Generic.Dictionary<System.String,System.Object>

Query parameters for the request.
ArcGIS Maps SDK for JavaScript

ResponseType System.Nullable<ResponseType>

Response format.
ArcGIS Maps SDK for JavaScript

StringBody System.String

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

Timeout System.Nullable<System.Int64>

Indicates the amount of time in milliseconds to wait for a response from the server.
ArcGIS Maps SDK for JavaScript

UseProxy System.Nullable<System.Boolean>

Indicates the request should use the proxy.
ArcGIS Maps SDK for JavaScript

WithCredentials System.Nullable<System.Boolean>

Indicates if cross-site Access-Control requests should use credentials.
ArcGIS Maps SDK for JavaScript

Properties

RequestOptions.AuthMode Property

Indicates if and how requests to ArcGIS Services are authenticated.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.AuthMode> AuthMode { get; set; }

Property Value

System.Nullable<AuthMode>

RequestOptions.Body Property

If uploading a file, specify the form data or element used to submit the file here. If specified, the parameters of the query will be added to the URL.

public string? Body { get; set; }

Property Value

System.String

RequestOptions.CacheBust Property

If true, the browser will send a request to the server instead of using the browser’s local cache.
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> CacheBust { get; set; }

Property Value

System.Nullable<System.Boolean>

RequestOptions.ElementReferenceBody Property

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

public System.Nullable<Microsoft.AspNetCore.Components.ElementReference> ElementReferenceBody { get; set; }

Property Value

System.Nullable<Microsoft.AspNetCore.Components.ElementReference>

RequestOptions.Headers Property

Headers to use for the request.
ArcGIS Maps SDK for JavaScript

public string? Headers { get; set; }

Property Value

System.String

RequestOptions.Method Property

Indicates if the request should be made using the HTTP DELETE, HEAD, POST, or PUT method.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.RequestMethod> Method { get; set; }

Property Value

System.Nullable<RequestMethod>

RequestOptions.ObjectCollectionBody Property

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.Dictionary<string,object?>? ObjectCollectionBody { get; set; }

Property Value

System.Collections.Generic.Dictionary<System.String,System.Object>

RequestOptions.Query Property

Query parameters for the request.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.Dictionary<string,object?>? Query { get; set; }

Property Value

System.Collections.Generic.Dictionary<System.String,System.Object>

RequestOptions.ResponseType Property

Response format.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.ResponseType> ResponseType { get; set; }

Property Value

System.Nullable<ResponseType>

RequestOptions.StringBody Property

If uploading a file, specify the form data or element used to submit the file here.
ArcGIS Maps SDK for JavaScript

public string? StringBody { get; set; }

Property Value

System.String

RequestOptions.Timeout Property

Indicates the amount of time in milliseconds to wait for a response from the server.
ArcGIS Maps SDK for JavaScript

public System.Nullable<long> Timeout { get; set; }

Property Value

System.Nullable<System.Int64>

RequestOptions.UseProxy Property

Indicates the request should use the proxy.
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> UseProxy { get; set; }

Property Value

System.Nullable<System.Boolean>

RequestOptions.WithCredentials Property

Indicates if cross-site Access-Control requests should use credentials.
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> WithCredentials { get; set; }

Property Value

System.Nullable<System.Boolean>