Skip to content

HttpClient

Viridovics edited this page Aug 30, 2018 · 4 revisions

Description

HttpClient provides methods for working with REST. This class supports GET, POST, PUT, DELETE, HEAD, PATCH methods. All methods have two version: sync and async. Also there is method Exec for execution web requests with custom Http method name.

Initialization

For creation HttpClient you need filling required parameter IAirContentProcessor contentProcessor.

Example

var contentProcessor = new WeakJsonContentProcessor();
var airClient = new AirHttpClient(contentProcessor);
Clone this wiki locally