libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
cookie Struct Reference

HTTP cookie structure. More...

#include <cookie.h>

Data Fields

char * name
 Cookie name.
 
char * value
 Cookie value.
 
char * domain
 Domain attribute.
 
char * path
 Path attribute.
 
time_t expires
 Expiration time (0 for session cookies)
 
time_t creation_time
 When cookie was created.
 
time_t last_access_time
 When cookie was last accessed.
 
cookie_flags_t flags
 Cookie attribute flags.
 
cookie_samesite_t samesite
 SameSite attribute.
 
cookie_priority_t priority
 Priority level.
 
struct cookienext
 Next cookie in linked list.
 
struct cookieprev
 Previous cookie in linked list.
 

Detailed Description

HTTP cookie structure.

Contains all cookie data and metadata including attributes and timestamps.

Field Documentation

◆ creation_time

time_t cookie::creation_time

When cookie was created.

◆ domain

char* cookie::domain

Domain attribute.

◆ expires

time_t cookie::expires

Expiration time (0 for session cookies)

◆ flags

cookie_flags_t cookie::flags

Cookie attribute flags.

◆ last_access_time

time_t cookie::last_access_time

When cookie was last accessed.

◆ name

char* cookie::name

Cookie name.

◆ next

struct cookie* cookie::next

Next cookie in linked list.

◆ path

char* cookie::path

Path attribute.

◆ prev

struct cookie* cookie::prev

Previous cookie in linked list.

◆ priority

cookie_priority_t cookie::priority

Priority level.

◆ samesite

cookie_samesite_t cookie::samesite

SameSite attribute.

◆ value

char* cookie::value

Cookie value.


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