roar
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Roar::RangeFileBody::writer Class Reference

#include <range_file_body.hpp>

Collaboration diagram for Roar::RangeFileBody::writer:

Public Types

using const_buffers_type = boost::asio::const_buffer
 

Public Member Functions

template<bool isRequest, class Fields >
 writer (boost::beast::http::header< isRequest, Fields > &, value_type &)
 
void init (boost::beast::error_code &ec)
 
boost::optional< std::pair< const_buffers_type, bool > > get (boost::beast::error_code &ec)
 

Private Attributes

value_typebody_
 
- Private Attributes inherited from Roar::Detail::Buffer< Detail::bufferSize()>
char buf_ [Size]
 

Member Typedef Documentation

◆ const_buffers_type

using Roar::RangeFileBody::writer::const_buffers_type = boost::asio::const_buffer

Constructor & Destructor Documentation

◆ writer()

template<bool isRequest, class Fields >
Roar::RangeFileBody::writer::writer ( boost::beast::http::header< isRequest, Fields > &  ,
value_type bodyValue 
)
inline

Member Function Documentation

◆ get()

boost::optional< std::pair< RangeFileBody::const_buffers_type, bool > > Roar::RangeFileBody::writer::get ( boost::beast::error_code &  ec)
inline

◆ init()

void Roar::RangeFileBody::writer::init ( boost::beast::error_code &  ec)
inline

Member Data Documentation

◆ body_

value_type& Roar::RangeFileBody::writer::body_
private

The documentation for this class was generated from the following file: