BSB Developer Docs
Loading...
Searching...
No Matches
FetchRequest Struct Reference

Request structure. More...

#include <fetch.h>

Data Fields

const char * url
 Pointer to the remote URL string.
 
const char * method
 Pointer to the HTTP method string.
 
FetchRequestHeaders headers
 Request headers (optional).
 
FetchRequestBody body
 Request body (optional).
 
TlsConfig tls_config
 TLS configuration (optional).
 

Detailed Description

Request structure.

If method is NULL, a GET request is assumed.

Field Documentation

◆ url

const char* FetchRequest::url

Pointer to the remote URL string.

Note
The string MUST begin with a valid protocol prefix, e.g. http:// or https://.

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