mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
committed by
Klemens Morgenstern
parent
5866e50438
commit
5ccb33b71c
@ -344,21 +344,31 @@ public:
|
|||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
|
|
||||||
#if BOOST_BEAST_DOXYGEN
|
#if BOOST_BEAST_DOXYGEN
|
||||||
|
/// Get the option value
|
||||||
template<class Option>
|
template<class Option>
|
||||||
void
|
void
|
||||||
get_option(Option& opt);
|
get_option(Option& opt);
|
||||||
|
|
||||||
|
/// Set the option value
|
||||||
template<class Option>
|
template<class Option>
|
||||||
void
|
void
|
||||||
set_option(Option opt);
|
set_option(Option opt);
|
||||||
#else
|
#else
|
||||||
|
|
||||||
void set_option(decorator opt);
|
void set_option(decorator opt);
|
||||||
|
|
||||||
void get_option(timeout& opt);
|
|
||||||
void set_option(timeout const& opt);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** Set the timeout option
|
||||||
|
|
||||||
|
@throws system_error on failure to reset the
|
||||||
|
timer.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
set_option(timeout const& opt);
|
||||||
|
|
||||||
|
/// Get the timeout option
|
||||||
|
void
|
||||||
|
get_option(timeout& opt);
|
||||||
|
|
||||||
/** Set the permessage-deflate extension options
|
/** Set the permessage-deflate extension options
|
||||||
|
|
||||||
@throws invalid_argument if `deflateSupported == false`, and either
|
@throws invalid_argument if `deflateSupported == false`, and either
|
||||||
|
Reference in New Issue
Block a user