8,827

Downloads

150

Downloads of v 2.0.0.1

5

Average downloads per day

2013-09-16

Last published

Share on Social Networks

License details

provided by Sonatype

Apache-2.0

DocaLabs.Http.Client

2.0.0.1

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 2.0.0.1

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

Owners

Authors

Alexey Kadyrov

Copyright

Copyright ©2013 Alexey Kadyrov

Tags

Dependencies

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 2.0.1.2 282 Thursday, September 19, 2013
DocaLabs.Http.Client 2.0.0.1 (this version) 150 Monday, September 16, 2013
DocaLabs.Http.Client 1.0.1.2 149 Friday, September 6, 2013
DocaLabs.Http.Client 1.0.1.1 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