boost::http

Namespaces

Name

bcrypt

Namespace Aliases

Name

grammar

Types

Name

Description

basic_router

A container for HTTP route handlers.

cors

CORS middleware for handling cross‐origin requests.

cors_options

Options for CORS middleware configuration.

datastore

A polymorphic data container with clear functionality.

fields

A modifiable container of HTTP fields.

fields_base

Mixin for modifiable HTTP fields.

file

A platform‐independent file stream.

flat_router

header_limits

Configurable limits for HTTP headers.

message_base

Mixin for modifing common metadata in HTTP request and response messages.

metadata

Metadata about a request or response.

parameter

An HTTP header parameter

parser

A parser for HTTP/1 messages.

parser_config

Parser configuration settings.

parser_config_impl

Parser configuration with computed fields.

polystore

A container of type‐erased objects

quoted_token_view

A view into a quoted string token, which may contain escape sequences.

request

A modifiable container for HTTP requests.

request_base

Mixin for modifing HTTP requests.

request_parser

A parser for HTTP/1 requests.

response

A modifiable container for HTTP responses.

response_base

Mixin for modifing HTTP responses.

response_parser

route_params

Parameters object for HTTP route handlers.

route_params_base

Base class for request objects

route_params_base_privates

route_result

The result type returned by route handlers.

router_options

Configuration options for HTTP routers.

serializer

A serializer for HTTP/1 messages

serializer_config

Serializer configuration settings.

serializer_config_impl

Serializer configuration with computed fields.

static_request

A modifiable static container for HTTP requests.

static_response

A modifiable static container for HTTP responses.

string_body

A ConstBufferSequence adapter for an owned std::string.

upgrade_protocol

An Upgrade protocol

route_task

Convenience alias for route handler return type.

router

The default router type using route_params.

shared_parser_config

Shared pointer to immutable parser configuration.

shared_serializer_config

Shared pointer to immutable serializer configuration.

Enums

Name

Description

condition

Error conditions corresponding to sets of library error codes.

content_coding

Standard content‐codings for HTTP message bodies.

error

Error codes returned from HTTP algorithms and operations.

field

HTTP field name constants.

file_mode

File open modes

method

HTTP request methods.

payload

Identifies the payload type of a message.

route_what

Directive values for route handler results.

status

Represents standard HTTP status codes.

status_class

Represents the class of a status code.

version

Constants representing HTTP versions.

Functions

Name

Description

combine_field_values

Return a comma‐separated list of field values

int_to_status

Convert an integer to a known status code.

invoke

Invoke a callable, injecting stored objects as arguments The callable is invoked with zero or more arguments. For each argument type, if an object of that type (or key type) is stored in the container, a reference to that object is passed to the callable.

list_rule

Rule for a comma‐delimited list of elements

make_parser_config

Create parser configuration with computed values.

make_serializer_config

Create serializer configuration with computed values.

route_error

route_error overloads

string_to_field

Return the field name constant for a header name.

string_to_method

Return the method enum corresponding to a string.

swap

Swap.

to_status_class

to_status_class overloads

to_string

to_string overloads

operator<<

Stream insertion operators

Variables

Name

Description

parameter_rule

Rule matching parameter

quoted_token_rule

Rule matching quoted‐token

route_close

Handler requests connection closure.

route_done

Handler completed successfully.

route_next

Handler declined, try next handler.

route_next_route

Handler declined, skip to next route.

tchars

The set of token characters

token_rule

Match a token

upgrade_protocol_rule

Rule to match Upgrade protocol

upgrade_rule

Rule matching the Upgrade field value

Created with MrDocs