Beast Logo

PrevUpHomeNext

http::header_parser_v1::header_type

The type of the header this parser produces.

using header_type = header< isRequest, Fields >;
Types

Name

Description

fields_type

The type representing the fields.

Member Functions

Name

Description

header

Default constructor.

Move constructor.

Copy constructor.

Construct the header.

operator=

Move assignment.

Copy assignment.

Static Data Members

Name

Description

is_request

Indicates if the header is a request or response.

Data Members

Name

Description

fields

The HTTP field values.

method

The Request Method.

reason

The Response Reason-Phrase.

status

The Response Status-Code.

url

The Request URI.

version

The HTTP version.

A header includes the Start Line and Fields.

Some use-cases:

Requirements

Header: beast/http/header_parser_v1.hpp

Convenience header: beast/http.hpp


PrevUpHomeNext