bool end(const BufferT& dataBuffer)
 {
   return this->end(dataBuffer.data(), dataBuffer.size());
 }
	void handle_write(const BufferT &buffer, HandlerT &handler)
	{
		handler(std::error_code(), buffer.size());
	}
 bool end(const BufferT& dataBuffer, const header_block& trailers = {})
 {
   return this->end(dataBuffer.data(), dataBuffer.size(), trailers);
 }
Exemple #4
0
		BufferT(const BufferT& rhs) throw() : m_length(0), m_capacity(0)
		{
			append(rhs, rhs.size());
		}