-
Notifications
You must be signed in to change notification settings - Fork 0
HttpParamAssignmentFilter
The main class responsible for the actual parameter assignment. This class implements IFunctionInvocationFilter and contains the default deserialization code for HTTP request parameters. It uses the IHttpParamValueDeserializer implementation for deserialization if one exists.
The default deserialization is done using Newtonsoft.Json JsonConvert, and in the case of deserializing XML body content the System.Xml.Serialization.XmlSerializer is used.
Deserialization of objects (classes), primitives and lists and arrays is supported. This means you can use a host of types in the HttpParam generic argument:
HttpParam<List<int>> ints;
HttpParam<long[]> longs;
HttpParam<MyClass> myClass;
HttpParam<List<MyClass>> myClasses;
HttpParam<string> myString;If you wish to support more types you can also create your own deserializer implementation by implementing the IHttpParamValueDeserializer interface.
Table of contents
- Overview
- Authentication and authorization
- Exception handling
- HttpParam Attributes
-
Classes and interfaces overview
- Implementable interfaces
- Infrastructure classes