layout: default title: RequestOptions parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

RequestOptions Class

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

public class RequestOptions

Inheritance System.Object 🡒 RequestOptions

Properties

RequestOptions.AuthMode Property

Indicates if and how requests to ArcGIS Services are authenticated. Only applicable when
esriConfig.request.useIdentity = true.
Default Value: auto

public System.Nullable<dymaptic.GeoBlazor.Core.Model.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. If false, the
browser’s default cache handling will be used.
Default value: false

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

Property Value

System.Nullable<System.Boolean>

RequestOptions.Headers Property

Headers to use for the request. This is an object whose property names are header names.

public object? Headers { get; set; }

Property Value

System.Object

RequestOptions.Method Property

Indicates if the request should be made using the HTTP DELETE, HEAD, POST, or PUT method. By default, HTTP POST
will be used for auto if the request size is longer than the maxUrlLength property set in config.request.
Default Value: auto

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

Property Value

System.Nullable<RequestMethod>

RequestOptions.Query Property

Query parameters for the request. The query parameters will be added to the URL if a GET request is used, or if the
body property is set. If the body property is not set, the query parameters will be added to the request body when
a DELETE, POST, or PUT request is used.

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. Default Value: json.

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

Property Value

System.Nullable<ResponseType>

RequestOptions.Timeout Property

Indicates the amount of time in milliseconds to wait for a response from the server. Set to 0 to wait for the
response indefinitely.
Default Value: 60000

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

Property Value

System.Nullable<System.Int64>

RequestOptions.UseProxy Property

Indicates the request should use the proxy. By default, this is determined automatically based on the domain of the
request URL.
Default Value: false

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

Property Value

System.Nullable<System.Boolean>

RequestOptions.WithCredentials Property

Indicates the request should use the proxy. By default, this is determined automatically based on the domain of the
request URL.
Default Value: false

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

Property Value

System.Nullable<System.Boolean>