Sunshine master
Self-hosted game stream host for Moonlight.
stream::control_header_v2 Struct Reference

Packed control-channel header used before control payloads. More...

Public Member Functions

uint8_t * payload ()
 Return a pointer to the protocol payload following the packet header.
 

Public Attributes

std::uint16_t payloadLength
 Payload length.
 
std::uint16_t type
 Control message type.
 

Detailed Description

Packed control-channel header used before control payloads.

Member Function Documentation

◆ payload()

uint8_t * stream::control_header_v2::payload ( )
inline

Return a pointer to the protocol payload following the packet header.

Returns
Parsed or serialized payload data.

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