#include <multipart_stream.h>
Public Member Functions | |
MultipartStream (async_web_server_cpp::HttpConnectionPtr &connection, const std::string &boundry="boundarydonotcross") | |
void | sendInitialHeader () |
void | sendPart (const ros::Time &time, const std::string &type, const boost::asio::const_buffer &buffer, async_web_server_cpp::HttpConnection::ResourcePtr resource) |
void | sendPartAndClear (const ros::Time &time, const std::string &type, std::vector< unsigned char > &data) |
void | sendPartFooter () |
void | sendPartHeader (const ros::Time &time, const std::string &type, size_t payload_size) |
Private Attributes | |
std::string | boundry_ |
async_web_server_cpp::HttpConnectionPtr | connection_ |
Definition at line 10 of file multipart_stream.h.
web_video_server::MultipartStream::MultipartStream | ( | async_web_server_cpp::HttpConnectionPtr & | connection, |
const std::string & | boundry = "boundarydonotcross" |
||
) |
Definition at line 7 of file multipart_stream.cpp.
Definition at line 10 of file multipart_stream.cpp.
void web_video_server::MultipartStream::sendPart | ( | const ros::Time & | time, |
const std::string & | type, | ||
const boost::asio::const_buffer & | buffer, | ||
async_web_server_cpp::HttpConnection::ResourcePtr | resource | ||
) |
Definition at line 42 of file multipart_stream.cpp.
void web_video_server::MultipartStream::sendPartAndClear | ( | const ros::Time & | time, |
const std::string & | type, | ||
std::vector< unsigned char > & | data | ||
) |
Definition at line 35 of file multipart_stream.cpp.
Definition at line 31 of file multipart_stream.cpp.
void web_video_server::MultipartStream::sendPartHeader | ( | const ros::Time & | time, |
const std::string & | type, | ||
size_t | payload_size | ||
) |
Definition at line 19 of file multipart_stream.cpp.
std::string web_video_server::MultipartStream::boundry_ [private] |
Definition at line 23 of file multipart_stream.h.
Definition at line 22 of file multipart_stream.h.