Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::websocket::WebSocket::State Struct Reference

Public Member Functions

 State (Role r, Options o)
 
int Fail (absl::Status status)
 
absl::Status Frame (std::uint8_t opcode, std::string_view payload, std::array< std::uint8_t, 4 > mask)
 
int Parse ()
 
absl::Status Advance ()
 

Public Attributes

Role role
 
Options options
 
std::unique_ptr< http::Http2 > http
 
bool opened = false
 
bool closed = false
 
bool closing = false
 
bool submitted = false
 
std::size_t queued_bytes = 0
 
internal::Framing framing
 
std::deque< std::string > messages
 
absl::Status error
 

Constructor & Destructor Documentation

◆ State()

symbian::websocket::WebSocket::State::State ( Role  r,
Options  o 
)
inline

Member Function Documentation

◆ Advance()

absl::Status symbian::websocket::WebSocket::State::Advance ( )
inline

◆ Fail()

int symbian::websocket::WebSocket::State::Fail ( absl::Status  status)
inline

◆ Frame()

absl::Status symbian::websocket::WebSocket::State::Frame ( std::uint8_t  opcode,
std::string_view  payload,
std::array< std::uint8_t, 4 >  mask 
)
inline

◆ Parse()

int symbian::websocket::WebSocket::State::Parse ( )
inline

Member Data Documentation

◆ closed

bool symbian::websocket::WebSocket::State::closed = false

◆ closing

bool symbian::websocket::WebSocket::State::closing = false

◆ error

absl::Status symbian::websocket::WebSocket::State::error

◆ framing

internal::Framing symbian::websocket::WebSocket::State::framing

◆ http

std::unique_ptr<http::Http2> symbian::websocket::WebSocket::State::http

◆ messages

std::deque<std::string> symbian::websocket::WebSocket::State::messages

◆ opened

bool symbian::websocket::WebSocket::State::opened = false

◆ options

Options symbian::websocket::WebSocket::State::options

◆ queued_bytes

std::size_t symbian::websocket::WebSocket::State::queued_bytes = 0

◆ role

Role symbian::websocket::WebSocket::State::role

◆ submitted

bool symbian::websocket::WebSocket::State::submitted = false

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