SimpleBodyDecoder.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/web/protocol/http/incoming/SimpleBodyDecoder.hpp"

SimpleBodyDecoder

Default implementation of oatpp::web::protocol::http::incoming::BodyDecoder.

namespace oatpp { namespace web { namespace protocol { namespace http { namespace incoming { 
  class SimpleBodyDecoder : public BodyDecoder {}
}}}}}

Methods

Return Type Name Summary
void decode Decode bodyStream and write decoded data to toStream.
oatpp::async::CoroutineStarter decodeAsync Same as SimpleBodyDecoder::decode() but Async.

SimpleBodyDecoder::decode

Decode bodyStream and write decoded data to toStream.

void decode(const Headers& headers, data::stream::InputStream* bodyStream, data::stream::WriteCallback* writeCallback) const override

SimpleBodyDecoder::decodeAsync

Same as SimpleBodyDecoder::decode() but Async.

oatpp::async::CoroutineStarter decodeAsync(const Headers& headers,
                                           const std::shared_ptr<oatpp::data::stream::InputStream>& bodyStream,
                                           const std::shared_ptr<oatpp::data::stream::AsyncWriteCallback>& writeCallback) const override