LiveKit C++ Client SDK v1.4.0
Real-time audio/video/data SDK for C++
Loading...
Searching...
No Matches
livekit::TokenEndpointOptions Struct Reference

HTTP options for EndpointTokenSource. More...

#include <token_source.h>

Public Attributes

std::string method = "POST"
 HTTP method (default POST).
 
std::map< std::string, std::string > headers
 Additional request headers.
 
std::chrono::milliseconds timeout = std::chrono::seconds(30)
 Request timeout (default 30 seconds).
 

Detailed Description

HTTP options for EndpointTokenSource.

Member Data Documentation

◆ timeout

std::chrono::milliseconds livekit::TokenEndpointOptions::timeout = std::chrono::seconds(30)

Request timeout (default 30 seconds).

Note
A non-positive value is treated as the 30 second default rather than as "no timeout".

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