proxygen
fizz::server::ClockSkewTolerance Struct Reference

#include <FizzServerContext.h>

Public Attributes

std::chrono::milliseconds before
 
std::chrono::milliseconds after
 

Detailed Description

The amount of client clock skew to tolerate when accepting early data. Early data will only be accepted with clock skew between before and after.

For example: ClockSkewTolerance{ std::chrono::milliseconds(-2000), std::chrono::milliseconds(1000) }; Would accept client clocks between 2 seconds slow, and 1 second fast.

Definition at line 34 of file FizzServerContext.h.

Member Data Documentation

std::chrono::milliseconds fizz::server::ClockSkewTolerance::after

Definition at line 36 of file FizzServerContext.h.

Referenced by fizz::sm::negotiateEarlyDataType().

std::chrono::milliseconds fizz::server::ClockSkewTolerance::before

Definition at line 35 of file FizzServerContext.h.

Referenced by fizz::sm::negotiateEarlyDataType().


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