GeoBlazor Pro
layout: pro title: RequestResponse parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Model
RequestResponse Class
Returns a promise that resolves to an object with the following specification. If the request returns an Error, the error object will include the details specified in EsriErrorDetails.
public class RequestResponse :
System.IEquatable<dymaptic.GeoBlazor.Pro.Model.RequestResponse>
Inheritance System.Object 🡒 RequestResponse
Implements System.IEquatable<RequestResponse>
Constructors
RequestResponse(object, Nullable, RequestOptions, Nullable, string) Constructor
Returns a promise that resolves to an object with the following specification. If the request returns an Error, the error object will include the details specified in EsriErrorDetails.
public RequestResponse(object? Data, System.Nullable<int> HttpStatus, dymaptic.GeoBlazor.Core.Model.RequestOptions? RequestOptions, System.Nullable<bool> Ssl, string? Url);
Parameters
Data
System.Object
The requested data. Should match the responseType with the data return type. Possible types are: json, text, array-buffer, blob, image, native, document, and xml.
HttpStatus
System.Nullable<System.Int32>
The status code of the http response.
RequestOptions
dymaptic.GeoBlazor.Core.Model.RequestOptions
The options specified by the user in the data request. See RequestOptions for available properties.
Ssl
System.Nullable<System.Boolean>
Indicates if the request required https.
Url
System.String
The URL used to request the data.
Properties
RequestResponse.Data Property
The requested data. Should match the responseType with the data return type. Possible types are: json, text, array-buffer, blob, image, native, document, and xml.
public object? Data { get; set; }
Property Value
RequestResponse.HttpStatus Property
The status code of the http response.
public System.Nullable<int> HttpStatus { get; set; }
Property Value
RequestResponse.RequestOptions Property
The options specified by the user in the data request. See RequestOptions for available properties.
public dymaptic.GeoBlazor.Core.Model.RequestOptions? RequestOptions { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Model.RequestOptions
RequestResponse.Ssl Property
Indicates if the request required https.
public System.Nullable<bool> Ssl { get; set; }
Property Value
System.Nullable<System.Boolean>
RequestResponse.Url Property
The URL used to request the data.
public string? Url { get; set; }