Per-request data that should be available inside handlers.
Definition in file task_inherited_data.hpp.
Go to the source code of this file.
#include <atomic>
#include <string>
#include <userver/engine/deadline.hpp>
#include <userver/engine/task/inherited_variable.hpp>
Classes | |
class | server::request::DeadlineSignal |
Signals when an operation has detected deadline expiration. More... | |
struct | server::request::TaskInheritedData |
Per-request data that should be available inside handlers. More... | |
class | server::request::DeadlinePropagationBlocker |
Stops deadline propagation within its scope. More... | |
Namespaces | |
namespace | server::request |
Server request related types and functions. | |
Functions | |
engine::Deadline | server::request::GetTaskInheritedDeadline () noexcept |
Returns TaskInheritedData::deadline, or an unreachable engine::Deadline if none was set. | |
void | server::request::MarkTaskInheritedDeadlineExpired () noexcept |
Marks that the current TaskInheritedData::deadline has expired. | |
Variables | |
engine::TaskInheritedVariable< TaskInheritedData > | server::request::kTaskInheritedData |