9 #ifndef anna_http_Transport_hpp 10 #define anna_http_Transport_hpp 75 void setBodyOffset(
const int bodyOffset) noexcept(
false) { a_bodyOffset = bodyOffset; }
91 const http::Message* externalDecode(
const char* buffer,
const int length) noexcept(
false);
125 const Tokenizer& split(
const Token& token,
const char* separator) noexcept(
false);
135 const Tokenizer& split(
const Token& token,
const char separator) noexcept(
false);
141 static const char*
className() {
return "anna::http::Transport"; }
172 int a_lastChunkedByte;
179 int calculeSize(
const DataBlock&) noexcept(
false);
Definition: Message.hpp:30
void setBodyOffset(const int bodyOffset) noexcept(false)
Definition: Transport.hpp:75
Definition: EncodedBlock.hpp:18
Definition: Abstract.hpp:28
Definition: Transport.hpp:44
Definition: Tokenizer.hpp:22
static const char * className()
Definition: Transport.hpp:141
Definition: Allocator.hpp:19
Definition: Message.hpp:26
void setContentLength(const int contentLength) noexcept(false)
Definition: Transport.hpp:68
_v
Definition: Message.hpp:46
Definition: TransportFactoryImpl.hpp:25
Definition: Transport.hpp:36
int getContentLength() const
Definition: Transport.hpp:54
const char contentLength[16]
static comm::TransportFactory & getFactory()
Definition: Transport.hpp:147
Definition: TransportFactory.hpp:30
virtual ~Transport()
Definition: Transport.hpp:47
Definition: DataBlock.hpp:24