Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
Task.hpp File Reference
#include <orbit/legacy_namespaces.hpp>
#include <orbit/concurrency/Awaitable.hpp>
#include <coroutine>
#include <cstdint>
#include <exception>
#include <memory>
#include <type_traits>
Include dependency graph for Task.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  orbit::concurrency::Task
 Fire-and-forget coroutine type, used as the return type of coroutine route handlers. More...
 
struct  orbit::concurrency::Task::promise_type
 

Namespaces

namespace  orbit
 
namespace  orbit::http
 
namespace  orbit::concurrency
 
namespace  orbit::concurrency::detail
 

Functions

uint64_t orbit::concurrency::detail::writer_generation (const std::shared_ptr< http::ResponseWriter > &writer) noexcept
 
std::shared_ptr< void > orbit::concurrency::detail::keep_request_alive (const http::HttpRequest &request) noexcept
 
void orbit::concurrency::detail::report_task_exception (const std::shared_ptr< http::ResponseWriter > &writer, uint64_t generation, std::exception_ptr error) noexcept