pianod2
multisource multiuser scriptable networked music player
Public Attributes | List of all members
fb_http_request_t Struct Reference

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

#include <fb_service.h>

Public Attributes

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

Detailed Description

Structure which collects HTTP request information as it is read.

Member Data Documentation

◆ failure

bool fb_http_request_t::failure

Web server suffering troubles.

◆ filename

char* fb_http_request_t::filename

Request filename (Service name stripped off if used).

◆ headonly

bool fb_http_request_t::headonly

flag set for HEAD request

◆ host

char* fb_http_request_t::host

Requesting host.

Needed for redirects.

◆ http

char* fb_http_request_t::http

HTTP version from HEAD or GET request.

◆ if_modified_since

char* fb_http_request_t::if_modified_since

Used to support caching via GET requests.

◆ invalid

bool fb_http_request_t::invalid

flag set if invalidness was found while reading the header.

◆ language

char* fb_http_request_t::language

Accept-Language HTTP request parameter.

◆ query_string

char* fb_http_request_t::query_string

◆ service_name

char* fb_http_request_t::service_name

Requested service, if service names in use per service options.

◆ unsupported

bool fb_http_request_t::unsupported

Unsupported HTTP request (any other than HEAD or GET)

◆ upgrade_type

char* fb_http_request_t::upgrade_type

Query parameters, if present.

◆ websocket_key

char* fb_http_request_t::websocket_key

◆ websocket_protocol

char* fb_http_request_t::websocket_protocol

◆ websocket_version

char* fb_http_request_t::websocket_version

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