Abstracts HTTP calls to ArcGIS Server.
Inheritance Hierarchy
PreStorm.Http
Namespace: PreStorm
Assembly: PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax
The Http type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | RequestModifier |
An action that globally modifies the underlying HttpWebRequest object.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Get(String, Action<HttpWebRequest>) |
Sends a GET request and returns the response body.
|
![]() ![]() | Get<T>(String, Action<HttpWebRequest>) |
Sends a GET request and returns the response JSON deserialized as the specified type.
|
![]() ![]() | Post(String, String, Action<HttpWebRequest>) |
Sends a POST request and returns the response body.
|
![]() ![]() | Post<T>(String, String, Action<HttpWebRequest>) |
Sends a POST request and returns the response JSON deserialized as the specified type.
|
See Also