A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::net::Http2Server::State Struct Referenceabstract

Public Member Functions

 State (std::string address, Http2RequestHandler request_handler, Http2Options server_options, SslContext context)
 
std::uint16_t port ABSL_GUARDED_BY (mu)=0
 
bool running ABSL_GUARDED_BY (mu)
 
std::shared_ptr< uvw::tcp_handle > listener ABSL_GUARDED_BY (mu)
 
std::vector< std::shared_ptr< Http2Connection > > connections ABSL_GUARDED_BY (mu)
 

Public Attributes

thread::Mutex mu
 
const std::string bind_address
 
const Http2RequestHandler handler
 
const Http2Options options
 
const SslContext tls_context
 

Constructor & Destructor Documentation

◆ State()

a11::net::Http2Server::State::State ( std::string  address,
Http2RequestHandler  request_handler,
Http2Options  server_options,
SslContext  context 
)
inline

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/4]

bool running a11::net::Http2Server::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [2/4]

std::shared_ptr< uvw::tcp_handle > listener a11::net::Http2Server::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [3/4]

std::vector< std::shared_ptr< Http2Connection > > connections a11::net::Http2Server::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [4/4]

std::uint16_t port a11::net::Http2Server::State::ABSL_GUARDED_BY ( mu  )
pure virtual

Member Data Documentation

◆ bind_address

const std::string a11::net::Http2Server::State::bind_address

◆ handler

const Http2RequestHandler a11::net::Http2Server::State::handler

◆ mu

thread::Mutex a11::net::Http2Server::State::mu
mutable

◆ options

const Http2Options a11::net::Http2Server::State::options

◆ tls_context

const SslContext a11::net::Http2Server::State::tls_context

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