WPILibC++ 2024.3.2
wpi::WebSocket::ClientOptions Struct Reference

Client connection options. More...

#include <wpinet/WebSocket.h>

Public Member Functions

 ClientOptions ()
 

Public Attributes

uv::Timer::Time handshakeTimeout
 Timeout for the handshake request. More...
 
std::span< const std::pair< std::string_view, std::string_view > > extraHeaders
 Additional headers to include in handshake. More...
 

Detailed Description

Client connection options.

Constructor & Destructor Documentation

◆ ClientOptions()

wpi::WebSocket::ClientOptions::ClientOptions ( )
inline

Member Data Documentation

◆ extraHeaders

std::span<const std::pair<std::string_view, std::string_view> > wpi::WebSocket::ClientOptions::extraHeaders

Additional headers to include in handshake.

◆ handshakeTimeout

uv::Timer::Time wpi::WebSocket::ClientOptions::handshakeTimeout

Timeout for the handshake request.


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