class Ably::Rest::Middleware::Encoder

Encode the body of the message according to the mime type