ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
EdgeFetch Struct Reference

One in-flight origin fetch (fixed-size, zero-heap). More...

#include <edge_fetch.h>

Public Attributes

EdgeFetchStatus st
 
int cid
 
uint32_t start_ms
 
uint32_t got
 bytes accumulated
 
uint32_t req_len
 request bytes parked at the head of buf until the connection is up
 
proto_bool sent
 the request reached the transport, so buf now takes the response
 
int status
 HTTP status (valid when DONE)
 
size_t head_len
 
size_t body_off
 
size_t body_len
 
uint8_t buf [PROTOCORE_EDGE_FETCH_BUF]
 

Detailed Description

One in-flight origin fetch (fixed-size, zero-heap).

Definition at line 55 of file edge_fetch.h.

Member Data Documentation

◆ st

EdgeFetchStatus EdgeFetch::st

Definition at line 57 of file edge_fetch.h.

◆ cid

int EdgeFetch::cid

Definition at line 58 of file edge_fetch.h.

◆ start_ms

uint32_t EdgeFetch::start_ms

Definition at line 59 of file edge_fetch.h.

◆ got

uint32_t EdgeFetch::got

bytes accumulated

Definition at line 60 of file edge_fetch.h.

◆ req_len

uint32_t EdgeFetch::req_len

request bytes parked at the head of buf until the connection is up

Definition at line 61 of file edge_fetch.h.

◆ sent

proto_bool EdgeFetch::sent

the request reached the transport, so buf now takes the response

Definition at line 62 of file edge_fetch.h.

◆ status

int EdgeFetch::status

HTTP status (valid when DONE)

Definition at line 63 of file edge_fetch.h.

◆ head_len

size_t EdgeFetch::head_len

Definition at line 64 of file edge_fetch.h.

◆ body_off

size_t EdgeFetch::body_off

Definition at line 65 of file edge_fetch.h.

◆ body_len

size_t EdgeFetch::body_len

Definition at line 66 of file edge_fetch.h.

◆ buf

uint8_t EdgeFetch::buf[PROTOCORE_EDGE_FETCH_BUF]

Definition at line 67 of file edge_fetch.h.


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