Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::http::h2::Http2Session::StreamContext Struct Reference
Collaboration diagram for orbit::http::h2::Http2Session::StreamContext:

Public Attributes

int32_t stream_id
 
http::HttpRequest request
 
std::string backing_uri
 
std::string backing_body
 
std::vector< std::pair< std::string, std::string > > backing_headers
 
std::string response_body
 
size_t response_offset {0}
 
bool streaming {false}
 
bool stream_ended {false}
 
std::string backing_cookie
 
int file_fd {-1}
 
off_t file_size {0}
 
off_t file_offset {0}
 
bool body_too_large {false}
 
std::weak_ptr< Http2ResponseWriter > writer
 

Member Data Documentation

◆ backing_body

std::string orbit::http::h2::Http2Session::StreamContext::backing_body

◆ backing_cookie

std::string orbit::http::h2::Http2Session::StreamContext::backing_cookie

◆ backing_headers

std::vector<std::pair<std::string, std::string> > orbit::http::h2::Http2Session::StreamContext::backing_headers

◆ backing_uri

std::string orbit::http::h2::Http2Session::StreamContext::backing_uri

◆ body_too_large

bool orbit::http::h2::Http2Session::StreamContext::body_too_large {false}

◆ file_fd

int orbit::http::h2::Http2Session::StreamContext::file_fd {-1}

◆ file_offset

off_t orbit::http::h2::Http2Session::StreamContext::file_offset {0}

◆ file_size

off_t orbit::http::h2::Http2Session::StreamContext::file_size {0}

◆ request

http::HttpRequest orbit::http::h2::Http2Session::StreamContext::request

◆ response_body

std::string orbit::http::h2::Http2Session::StreamContext::response_body

◆ response_offset

size_t orbit::http::h2::Http2Session::StreamContext::response_offset {0}

◆ stream_ended

bool orbit::http::h2::Http2Session::StreamContext::stream_ended {false}

◆ stream_id

int32_t orbit::http::h2::Http2Session::StreamContext::stream_id

◆ streaming

bool orbit::http::h2::Http2Session::StreamContext::streaming {false}

◆ writer

std::weak_ptr<Http2ResponseWriter> orbit::http::h2::Http2Session::StreamContext::writer

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