#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/HttpServer.hpp>
◆ content_length()
| int Slic3r::GUI::http_headers::content_length |
( |
| ) |
|
|
inline |
◆ get_url()
| std::string Slic3r::GUI::http_headers::get_url |
( |
| ) |
|
|
inline |
◆ on_read_header()
| void Slic3r::GUI::http_headers::on_read_header |
( |
std::string | line | ) |
|
|
inline |
57 {
58
59
60 std::stringstream ssHeader(line);
61 std::string headerName;
62 std::getline(ssHeader, headerName, ':');
63
64 std::string value;
65 std::getline(ssHeader, value);
67 }
References headers.
◆ on_read_request_line()
| void Slic3r::GUI::http_headers::on_read_request_line |
( |
std::string | line | ) |
|
|
inline |
70 {
71 std::stringstream ssRequestLine(line);
75
76 std::cout <<
"request for resource: " <<
url << std::endl;
77 }
References method, url, and version.
◆ session
◆ headers
| std::map<std::string, std::string> Slic3r::GUI::http_headers::headers |
|
private |
◆ method
| std::string Slic3r::GUI::http_headers::method |
|
private |
◆ url
| std::string Slic3r::GUI::http_headers::url |
|
private |
◆ version
| std::string Slic3r::GUI::http_headers::version |
|
private |
The documentation for this class was generated from the following file: