Class MultipartStream
Defined in File multipart_stream.hpp
Class Documentation
-
class MultipartStream
Public Functions
-
MultipartStream(std::function<rclcpp::Time()> get_now, async_web_server_cpp::HttpConnectionPtr &connection, const std::string &boundry = "boundarydonotcross", std::size_t max_queue_size = 1)
-
void sendInitialHeader()
-
void sendPartHeader(const rclcpp::Time &time, const std::string &type, size_t payload_size)
-
void sendPartAndClear(const rclcpp::Time &time, const std::string &type, std::vector<unsigned char> &data)
-
void sendPart(const rclcpp::Time &time, const std::string &type, const boost::asio::const_buffer &buffer, async_web_server_cpp::HttpConnection::ResourcePtr resource)
-
MultipartStream(std::function<rclcpp::Time()> get_now, async_web_server_cpp::HttpConnectionPtr &connection, const std::string &boundry = "boundarydonotcross", std::size_t max_queue_size = 1)