Map-From binding¶
Supports a variety of map-from bindings:
- Path - MapFromPathAttribute
- Query - MapFromQueryAttribute
- Header - MapFromHeaderAttribute
- Cookie - MapFromQueryAttribute
- Manual
Simply decorate your request dto property (must be read and write) with the corresponding 'MapFromAttribute'
You also need to specify the name of the key it should be taken from.
Supported types¶
- string
- int
- long
- DateTime
- bool
- Guid
- Range (in MapFromHeader)
Supported Bindings¶
Path¶
Query¶
Header¶
Cookie¶
Manual¶
See mappers