ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_mdl_http_policy_t Struct Reference

Bounded request policy forwarded to the C6 HTTP client. More...

#include <ra8_mdl_http.h>

Data Fields

const char * user_agent
 User-Agent value, or null/empty to omit.
const char * referer
 Referer value, or null/empty to omit.
const char * if_none_match
 If-None-Match value, or null/empty to omit.
const char * if_modified_since
 If-Modified-Since value, or null/empty.
uint32_t timeout_ms
 Whole-request timeout, or zero for default.

Detailed Description

Bounded request policy forwarded to the C6 HTTP client.

Invariant
Null and empty strings both mean that the header is absent.
Nonempty strings contain no CR or LF characters.
timeout_ms == 0 selects the C6 backend default.
Since
0.1.0

Definition at line 32 of file ra8_mdl_http.h.

Field Documentation

◆ if_modified_since

const char* ra8_mdl_http_policy_t::if_modified_since

If-Modified-Since value, or null/empty.

Definition at line 36 of file ra8_mdl_http.h.

Referenced by internal_mdl_http_apply_request(), internal_mdl_stage_headers(), and internal_mdl_start_request_valid().

◆ if_none_match

const char* ra8_mdl_http_policy_t::if_none_match

If-None-Match value, or null/empty to omit.

Definition at line 35 of file ra8_mdl_http.h.

Referenced by internal_mdl_http_apply_request(), internal_mdl_stage_headers(), and internal_mdl_start_request_valid().

◆ referer

const char* ra8_mdl_http_policy_t::referer

Referer value, or null/empty to omit.

Definition at line 34 of file ra8_mdl_http.h.

Referenced by internal_mdl_http_apply_request(), internal_mdl_stage_headers(), and internal_mdl_start_request_valid().

◆ timeout_ms

uint32_t ra8_mdl_http_policy_t::timeout_ms

Whole-request timeout, or zero for default.

Definition at line 37 of file ra8_mdl_http.h.

Referenced by internal_mdl_http_apply_request(), internal_mdl_start_request_valid(), and ra8_c6link_mdl_start_request().

◆ user_agent

const char* ra8_mdl_http_policy_t::user_agent

User-Agent value, or null/empty to omit.

Definition at line 33 of file ra8_mdl_http.h.

Referenced by internal_mdl_http_apply_request(), internal_mdl_stage_headers(), and internal_mdl_start_request_valid().


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