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

Per-request session parameters. More...

#include <mdl_net.h>

Data Fields

const char * user_agent
 Session User-Agent; never per-request random.
const char * referer
 Referer header value, or NULL to omit.
const char * if_none_match
 If-None-Match conditional header (ETag), or NULL.
const char * if_modified_since
 If-Modified-Since header (Last-Modified), or NULL.
uint32_t timeout_ms
 Whole-request time budget, milliseconds.

Detailed Description

Per-request session parameters.

Note
user_agent is chosen once per session and held constant – rotating it per request (as the Kotlin original did) looks more bot-like, not less, so we deliberately do not.

Definition at line 43 of file mdl_net.h.

Field Documentation

◆ if_modified_since

const char* mdl_net_req_t::if_modified_since

If-Modified-Since header (Last-Modified), or NULL.

Definition at line 47 of file mdl_net.h.

Referenced by internal_build_req_headers(), internal_c6_get(), internal_cache_fetch(), internal_cache_retry_unconditional(), and internal_mdl_fetch_resolve_not_modified().

◆ if_none_match

const char* mdl_net_req_t::if_none_match

If-None-Match conditional header (ETag), or NULL.

Definition at line 46 of file mdl_net.h.

Referenced by internal_build_req_headers(), internal_c6_get(), internal_cache_fetch(), internal_cache_retry_unconditional(), and internal_mdl_fetch_resolve_not_modified().

◆ referer

const char* mdl_net_req_t::referer

Referer header value, or NULL to omit.

Definition at line 45 of file mdl_net.h.

Referenced by internal_apply_req(), and internal_c6_get().

◆ timeout_ms

uint32_t mdl_net_req_t::timeout_ms

Whole-request time budget, milliseconds.

Definition at line 48 of file mdl_net.h.

Referenced by internal_apply_req(), and internal_c6_get().

◆ user_agent

const char* mdl_net_req_t::user_agent

Session User-Agent; never per-request random.

Definition at line 44 of file mdl_net.h.

Referenced by internal_apply_req(), and internal_c6_get().


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