ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
browser_client_packet_result_t Struct Reference

#include <include/ascii-chat/network/browser/client.h>

Data Fields

packet_header_t header
bool encrypted
bool handshake
bool consumed
size_t payload_length

Detailed Description

Definition at line 27 of file include/ascii-chat/network/browser/client.h.

Field Documentation

◆ consumed

bool browser_client_packet_result_t::consumed

◆ encrypted

bool browser_client_packet_result_t::encrypted

◆ handshake

bool browser_client_packet_result_t::handshake

◆ header

packet_header_t browser_client_packet_result_t::header

Wire header in network byte order, valid when handshake is false.

Definition at line 29 of file include/ascii-chat/network/browser/client.h.

Referenced by browser_client_receive_packet(), and ClientSessionBinding::process().

◆ payload_length

size_t browser_client_packet_result_t::payload_length

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