actix-multiresponse
actix-multiresponse intents to allow supporting multiple response/request data formats depending on the Content-Type and Accept header.
Supported formats
- Json
- Protobuf
All formats can be enabled using equally-named feature flags. At least one format should be enabled.
Example
use Message;
use ;
use Payload;
async
License
actix-multiresponse is dual licensed under the MIT or the Apache-2.0 license, at your discretion