football
socket abstraction layer
Loading...
Searching...
No Matches
Data Fields
fb_http_request_t Struct Reference

Structure which collects HTTP request information as it is read. More...

#include <fb_service.h>

Data Fields

bool unsupported
 Unsupported HTTP request (any other than HEAD or GET)
 
bool headonly
 flag set for HEAD request
 
char * http
 HTTP version from HEAD or GET request.
 
char * host
 Requesting host.
 
char * service_name
 Requested service, if service names in use per service options.
 
char * filename
 Request filename (Service name stripped off if used).
 
char * query_string
 
char * upgrade_type
 Query parameters, if present.
 
char * websocket_key
 
char * websocket_protocol
 
char * websocket_version
 
char * if_modified_since
 Used to support caching via GET requests.
 
char * language
 Accept-Language HTTP request parameter.
 
bool invalid
 flag set if invalidness was found while reading the header.
 
bool failure
 Web server suffering troubles.
 

Detailed Description

Structure which collects HTTP request information as it is read.

Field Documentation

◆ host

char* fb_http_request_t::host

Requesting host.

Needed for redirects.


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