userver: userver/server/request/task_inherited_data.hpp File Reference
Loading...
Searching...
No Matches
task_inherited_data.hpp File Reference

Detailed Description

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>
+ Include dependency graph for task_inherited_data.hpp:
+ This graph shows which files directly or indirectly include this file:

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< TaskInheritedDataserver::request::kTaskInheritedData