|
dscrd
Discord C library
|
Rest Response structure. More...
#include <dscrd_i.h>

Data Fields | |
| char | http_status [255] |
| HTTP status response (if any), for example "BAD REQUEST". More... | |
| int | http_code |
| HTTP code response, for example 404 (Not Found) More... | |
| char * | body |
| response body More... | |
| char * | content_type |
| body's content type (if body), for example "application/json" More... | |
| int | content_length |
| length of response body More... | |
| DiscordClient * | discord_client |
| pointer DiscordClient of this response More... | |
| void * | api_data |
| private pointer More... | |
Rest Response structure.
Previously used RestResponse directly from rest-client-c library but now it's made API independent.
| void* api_data |
private pointer
| char* body |
response body
| int content_length |
length of response body
| char* content_type |
body's content type (if body), for example "application/json"
| DiscordClient* discord_client |
pointer DiscordClient of this response
| int http_code |
HTTP code response, for example 404 (Not Found)
| char http_status[255] |
HTTP status response (if any), for example "BAD REQUEST".
1.8.13