userver: server::request::TaskInheritedData Struct Reference
Loading...
Searching...
No Matches
server::request::TaskInheritedData Struct Referencefinal

#include <userver/server/request/task_inherited_data.hpp>

Detailed Description

Per-request data that should be available inside handlers.

Definition at line 32 of file task_inherited_data.hpp.

Public Attributes

std::string_view path
 The static path of the handler.
 
std::string_view method
 The method of the request.
 
std::chrono::steady_clock::time_point start_time {}
 The time when the request started being handled.
 
engine::Deadline deadline
 The time when there is no use handling the request anymore.
 
DeadlineSignal deadline_signal {}
 Signals when an operation has detected deadline expiration.
 

Member Data Documentation

◆ deadline

engine::Deadline server::request::TaskInheritedData::deadline

The time when there is no use handling the request anymore.

Definition at line 43 of file task_inherited_data.hpp.

◆ deadline_signal

DeadlineSignal server::request::TaskInheritedData::deadline_signal {}
mutable

Signals when an operation has detected deadline expiration.

Definition at line 46 of file task_inherited_data.hpp.

◆ method

std::string_view server::request::TaskInheritedData::method

The method of the request.

Definition at line 37 of file task_inherited_data.hpp.

◆ path

std::string_view server::request::TaskInheritedData::path

The static path of the handler.

Definition at line 34 of file task_inherited_data.hpp.

◆ start_time

std::chrono::steady_clock::time_point server::request::TaskInheritedData::start_time {}

The time when the request started being handled.

Definition at line 40 of file task_inherited_data.hpp.


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