This project is read-only.

DocaLabs.Http.Client v2.0.0.1

Rating: No reviews yet
Downloads: 5
Change Set: e4fadfd38122
Released: Sep 16, 2013
Updated: Sep 19, 2013 by alexeikadyrov
Dev status: Beta Help Icon

Recommended Download

application, 124K, uploaded Sep 16, 2013 - 5 downloads

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{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

Reviews for this release

No reviews yet for this release.