Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::server::QuicConnectionIdHash Struct Reference

#include <QuicConnectionManager.hpp>

Public Member Functions

std::size_t operator() (const ngtcp2_cid &cid) const
 

Detailed Description

Hashes connection IDs with a random per-process key. Clients choose the IDs of their Initial packets, so an unkeyed hash would let them pile entries into one bucket.

Member Function Documentation

◆ operator()()

std::size_t orbit::server::QuicConnectionIdHash::operator() ( const ngtcp2_cid &  cid) const

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