Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
Connection.hpp File Reference
#include <orbit/legacy_namespaces.hpp>
#include <orbit/network/Socket.hpp>
#include <orbit/network/Proactor.hpp>
#include <orbit/routing/Router.hpp>
#include <orbit/concurrency/ThreadPool.hpp>
#include <orbit/server/TimerManager.hpp>
#include <orbit/network/TlsContext.hpp>
#include <orbit/http/ResponseWriter.hpp>
#include <orbit/http/Http1Parser.hpp>
#include <vector>
#include <chrono>
#include <string_view>
#include <memory>
#include <mutex>
Include dependency graph for Connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  orbit::server::ConnectionLimits
 Timeouts applied to a connection, in the phases described on ServerConfig. More...
 
struct  orbit::server::ConnectionTimeouts
 
class  orbit::server::Connection
 Represents an active client connection, handling request parsing and response writing. More...
 

Namespaces

namespace  orbit
 
namespace  orbit::http
 
namespace  orbit::http::websocket
 
namespace  orbit::http::h2
 
namespace  orbit::server
 

Enumerations

enum class  orbit::server::ConnectionState {
  orbit::server::HTTP , orbit::server::HTTP_STREAMING_BODY , orbit::server::WEBSOCKET , orbit::server::RAW_STREAM ,
  orbit::server::HTTP2
}
 
enum class  orbit::server::RequestState {
  orbit::server::INCOMPLETE , orbit::server::COMPLETE , orbit::server::HEADERS_COMPLETE , orbit::server::ERROR_PAYLOAD_TOO_LARGE ,
  orbit::server::ERROR_HEADERS_TOO_LARGE , orbit::server::ERROR_BAD_REQUEST , orbit::server::ERROR_NOT_IMPLEMENTED
}