Http Class

PreStorm - A Data Client for ArcGIS Server REST API
Abstracts HTTP calls to ArcGIS Server.
Inheritance Hierarchy

System.Object
  PreStorm.Http

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

public static class Http

The Http type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberRequestModifier
An action that globally modifies the underlying HttpWebRequest object.
Top
Methods

  NameDescription
Public methodStatic memberGet(String, Action<HttpWebRequest>)
Sends a GET request and returns the response body.
Public methodStatic memberGet<T>(String, Action<HttpWebRequest>)
Sends a GET request and returns the response JSON deserialized as the specified type.
Public methodStatic memberPost(String, String, Action<HttpWebRequest>)
Sends a POST request and returns the response body.
Public methodStatic memberPost<T>(String, String, Action<HttpWebRequest>)
Sends a POST request and returns the response JSON deserialized as the specified type.
Top
See Also

Reference