mirror of
https://github.com/boostorg/beast.git
synced 2025-06-25 03:51:36 +02:00
committed by
Klemens Morgenstern
parent
5866e50438
commit
5ccb33b71c
@ -344,21 +344,31 @@ public:
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
#if BOOST_BEAST_DOXYGEN
|
||||
/// Get the option value
|
||||
template<class Option>
|
||||
void
|
||||
get_option(Option& opt);
|
||||
|
||||
/// Set the option value
|
||||
template<class Option>
|
||||
void
|
||||
set_option(Option opt);
|
||||
#else
|
||||
|
||||
void set_option(decorator opt);
|
||||
|
||||
void get_option(timeout& opt);
|
||||
void set_option(timeout const& opt);
|
||||
#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
|
||||
|
||||
@throws invalid_argument if `deflateSupported == false`, and either
|
||||
|
Reference in New Issue
Block a user