boost::http_proto

Namespace Aliases

Name

grammar

Types

Name

Description

acceptor_config

any_router

basic_router

A container for HTTP route handlers.

cors

cors_options

fields

A modifiable container of HTTP fields.

fields_base

Mixin for modifiable HTTP fields.

file_sink

Writes a message body to a file.

file_source

Reads a message body from a file.

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.

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

resumer

Function to resume a suspended route.

route_params

Parameters object for HTTP route handlers

route_params_base

Base class for request objects

router_options

Configuration options for HTTP routers.

serializer

A serializer for HTTP/1 messages

sink

An interface for consuming buffers of data.

source

An interface for producing buffers of data.

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.

suspender

Function to suspend a route handler from its session

upgrade_protocol

An Upgrade protocol

is_sink

A type trait that determines if T is a sink.

is_source

A type trait that determines if T is a source.

route_result

The result type returned by a route handler.

router

A router for HTTP servers

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.

method

HTTP request methods.

payload

Identifies the payload type of a message.

route

Route handler return values

status

Represents standard HTTP status codes.

status_class

Represents the class of a status code.

version

Constants representing HTTP versions.

Functions

Name

Description

co_route

Create a route handler from a coroutine function

combine_field_values

Return a comma‐separated list of field values

install_parser_service

Install the parser service.

install_serializer_service

Install the serializer service.

int_to_status

Convert an integer to a known status code.

is_route_result

Return true if rv is a route result.

list_rule

Rule for a comma‐delimited list of elements

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

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