Downloads of v


Average downloads per day


Last published

Share on Social Networks

License details

provided by Sonatype



Strong typed HTTP client. The main goal of the library is to minimize plumbing code to bare minimum.

To install DocaLabs.Http.Client, run the following command in the Package Manager Console

Install-Package DocaLabs.Http.Client -Version

Release Notes

There are a lot of changes and enhancements. Some major improvements:
* Ability to map a model properties into the URL's path, e.g. if the RUL is specified like http://foo.com/accounts/{id} and the model as a property named id then the value of that property will be mapped into the path in place of {id}.
* Ability to specify that some properties must be added as headers, a property must be either marked by the RequstUse(RequestUseTargets.RequestHeader) attribute or be of WebHeaderCollection type.
* Ability to supply credentials in the model, a property should be of ICredentials type
* Special treatment of Stream as input or output models.
* HttpClientFactory will be able to generate plumbing to service call methods that have more than one argument - it'll generate a model class with properties for each argument.
* Binding is made more flexible, it's possible to do custom binding per model type for each step in the pipeline - mapping properties to the URL, headers, credentials, writing to request body.
* Ability to get some information about the response - headers, etag, status code



Alexey Kadyrov


Copyright ©2013 Alexey Kadyrov



This package has no dependencies.

Version History

Version Downloads Last updated
DocaLabs.Http.Client 3.0.0 7,510 Monday, October 28, 2013
DocaLabs.Http.Client 282 Thursday, September 19, 2013
DocaLabs.Http.Client (this version) 150 Monday, September 16, 2013
DocaLabs.Http.Client 149 Friday, September 6, 2013
DocaLabs.Http.Client 310 Tuesday, April 2, 2013
DocaLabs.Http.Client 1.0.1 241 Thursday, February 28, 2013
DocaLabs.Http.Client 1.0.0 185 Saturday, February 23, 2013