summon an implicit EntityEncoder
Helper method which simply gathers the body into a single ByteVector
Create a new EntityDecoder
Create a new EntityDecoder
The new EntityDecoder will attempt to decode messages of type T
only if the Message satisfies the provided MediaRanges
Decodes a message to a String
Provides a mechanism to fail decoding
Provides a mechanism to fail decoding
EntityDecoder is used to attempt to decode an EntityBody This companion object provides a way to create
new EntityDecoder
s along with some commonly used instances which can be resolved implicitly.