boost::http::request_base::set_expect_100_continue

Set the Expect: 100‐continue header.

Synopsis

void
set_expect_100_continue(bool b);

Exception Safety

Strong guarantee. Calls to allocate may throw. Exception thrown if max capacity exceeded.

Exceptions

Name

Thrown on

std::length_error

Max capacity would be exceeded.

Parameters

Name Description

b

If true sets Expect: 100‐continue header otherwise erase it.

Created with MrDocs