libsparklepaw
PawSD library
Loading...
Searching...
No Matches
sprkl_response Struct Reference

Response tagged union (varies on the associated request verb and status). More...

#include <libsparklepaw/request.h>

Data Fields

enum sprkl_request_verb verb
 Union tag, original request verb.
enum sprkl_response_status status
 Also union tag, status code.
uint16_t errmsgsz
 Length of the error message (optional).
uint8_t * errmsg
 Error message (optional; UTF-8, no terminator).
union { 
   struct sprkl_response_echo   echo 
   struct sprkl_response_fetchservice   fetchsvc 
}; 

Detailed Description

Response tagged union (varies on the associated request verb and status).


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