Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::server::Http3Stream Struct Reference

One request/response exchange on an HTTP/3 stream. More...

#include <QuicHttp3Session.hpp>

Collaboration diagram for orbit::server::Http3Stream:

Public Member Functions

 Http3Stream (int64_t id)
 
 ~Http3Stream ()
 

Public Attributes

int64_t stream_id
 
http::HttpRequest request
 
std::string path
 
std::string body
 
std::string cookie
 
bool headers_complete = false
 
bool dispatched = false
 
bool body_too_large = false
 
quic::detail::SentChunks chunks
 
bool streaming = false
 
bool ended = false
 
int file_fd = -1
 
int64_t file_offset = 0
 
int64_t file_end = 0
 
std::weak_ptr< Http3ResponseWriter > writer
 

Detailed Description

One request/response exchange on an HTTP/3 stream.

Constructor & Destructor Documentation

◆ Http3Stream()

orbit::server::Http3Stream::Http3Stream ( int64_t  id)
inlineexplicit

◆ ~Http3Stream()

orbit::server::Http3Stream::~Http3Stream ( )

Member Data Documentation

◆ body

std::string orbit::server::Http3Stream::body

◆ body_too_large

bool orbit::server::Http3Stream::body_too_large = false

◆ chunks

quic::detail::SentChunks orbit::server::Http3Stream::chunks

◆ cookie

std::string orbit::server::Http3Stream::cookie

◆ dispatched

bool orbit::server::Http3Stream::dispatched = false

◆ ended

bool orbit::server::Http3Stream::ended = false

◆ file_end

int64_t orbit::server::Http3Stream::file_end = 0

◆ file_fd

int orbit::server::Http3Stream::file_fd = -1

◆ file_offset

int64_t orbit::server::Http3Stream::file_offset = 0

◆ headers_complete

bool orbit::server::Http3Stream::headers_complete = false

◆ path

std::string orbit::server::Http3Stream::path

◆ request

http::HttpRequest orbit::server::Http3Stream::request

◆ stream_id

int64_t orbit::server::Http3Stream::stream_id

◆ streaming

bool orbit::server::Http3Stream::streaming = false

◆ writer

std::weak_ptr<Http3ResponseWriter> orbit::server::Http3Stream::writer

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