kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
kalshi::ws::Subscription Struct Reference

A handle for one channel subscription. More...

#include <kalshi/ws_models.hpp>

Public Attributes

std::int64_t id {0}
 
Channel channel {Channel::Unknown}
 

Friends

bool operator== (const Subscription &, const Subscription &)=default
 

Detailed Description

A handle for one channel subscription.

It stays the same across reconnects; the server's sid does not.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Subscription &  ,
const Subscription &   
)
friend

Member Data Documentation

◆ id

std::int64_t kalshi::ws::Subscription::id {0}

◆ channel

Channel kalshi::ws::Subscription::channel {Channel::Unknown}

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