coreHTTP v2.0.2
HTTP/1.1 Client Library
HTTPRequestInfo_t Struct Reference

Configurations of the initial request headers. More...

#include <core_http_client.h>

Data Fields

const char * pMethod
 The HTTP request method e.g. "GET", "POST", "PUT", or "HEAD".
 
size_t methodLen
 
const char * pPath
 The Request-URI to the objects of interest, e.g. "/path/to/item.txt".
 
size_t pathLen
 
const char * pHost
 The server's host name, e.g. "my-storage.my-cloud.com". More...
 
size_t hostLen
 
uint32_t reqFlags
 Flags to activate other request header configurations. More...
 

Detailed Description

Configurations of the initial request headers.

Field Documentation

◆ methodLen

size_t HTTPRequestInfo_t::methodLen

The length of the method in bytes.

◆ pathLen

size_t HTTPRequestInfo_t::pathLen

The length of the path in bytes.

◆ pHost

const char* HTTPRequestInfo_t::pHost

The server's host name, e.g. "my-storage.my-cloud.com".

The host does not have a "https://" or "http://" prepending.

◆ hostLen

size_t HTTPRequestInfo_t::hostLen

The length of the host in bytes.

◆ reqFlags

uint32_t HTTPRequestInfo_t::reqFlags

Flags to activate other request header configurations.

Please see HTTPRequestInfo_t Flags for more information.


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