RestClient.Net
Rest client implementation using Microsoft's HttpClient class.
Delegate used for getting or creating HttpClient instances when the SendAsync call is made
Gets the delegate responsible for converting rest requests to http requests
Logging abstraction that will trace request/response data and log events
The serialization adapter for serializing/deserializing http content bodies. Defaults to JSON and adds the default Content-Type header for JSON on platforms later than .NET Framework 4.5
The of the client instance. This is also passed to the HttpClient factory to get or create HttpClient instances
The base Url for the client. Specify this if the client will be used for one Url only. This should be an absolute Uri
Default headers to be sent with http requests
Logging abstraction that will trace request/response data and log events
The delegate that is used for getting or creating HttpClient instances when the SendAsync call is made
The service responsible for performing the SendAsync method on HttpClient. This can replaced in the constructor in order to implement retries and so on.
Service responsible for converting rest requests to http requests
Whether or not to throw an exception on non-successful http calls
The serialization adapter for serializing/deserializing http content bodies. Defaults to JSON and adds the default Content-Type header for JSON on platforms later than .NET Framework 4.5
The of the client instance. This is also passed to the HttpClient factory to get or create HttpClient instances
The base Url for the client. Specify this if the client will be used for one Url only. This should be an absolute Uri
Default headers to be sent with http requests
Logging abstraction that will trace request/response data and log events
The delegate that is used for getting or creating HttpClient instances when the SendAsync call is made
The service responsible for performing the SendAsync method on HttpClient. This can replaced in the constructor in order to implement retries and so on.
Service responsible for converting rest requests to http requests
Whether or not to throw an exception on non-successful http calls
The serialization adapter for serializing/deserializing http content bodies. Defaults to JSON and adds the default Content-Type header for JSON on platforms later than .NET Framework 4.5
The of the client instance. This is also passed to the HttpClient factory to get or create HttpClient instances
The base Url for the client. Specify this if the client will be used for one Url only. This should be an absolute Uri
Default headers to be sent with http requests
Logging abstraction that will trace request/response data and log events
The delegate that is used for getting or creating HttpClient instances when the SendAsync call is made
The service responsible for performing the SendAsync method on HttpClient. This can replaced in the constructor in order to implement retries and so on.
Service responsible for converting rest requests to http requests
Whether or not to throw an exception on non-successful http calls
Base Url for the client. Any resources specified on requests will be relative to this.
Default headers to be sent with http requests
Name of the client
Adapter for serialization/deserialization of http body data
Specifies whether or not the client will throw an exception when non-successful status codes are returned in the http response. The default is true
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Clones the client With a change
Factory for using a single HttpClient. This can be used in the simplest scenarios.