forked from boostorg/beast
@ -22,7 +22,7 @@ if ! [ type.registered IPP ]
|
|||||||
docca.reference reference.qbk
|
docca.reference reference.qbk
|
||||||
:
|
:
|
||||||
xsl/custom-overrides.xsl
|
xsl/custom-overrides.xsl
|
||||||
[ glob-tree-ex ../include/boost/beast : *.hpp *.ipp : detail impl ]
|
[ glob-tree-ex ../include/boost/beast : *.hpp *.ipp : detail impl unit_test ]
|
||||||
:
|
:
|
||||||
<doxygen:param>PROJECT_NAME=Beast
|
<doxygen:param>PROJECT_NAME=Beast
|
||||||
<doxygen:param>PROJECT_BRIEF="C++ Networking Library"
|
<doxygen:param>PROJECT_BRIEF="C++ Networking Library"
|
||||||
|
@ -160,7 +160,7 @@ meet the requirements, or use the ones that come with the library:
|
|||||||
[link beast.ref.boost__beast__http__span_body `span_body`]
|
[link beast.ref.boost__beast__http__span_body `span_body`]
|
||||||
][
|
][
|
||||||
A body whose `value_type` is a
|
A body whose `value_type` is a
|
||||||
[link beast.ref.boost__beast__span `span`],
|
[@boost:/libs/core/doc/html/core/span.html `span`],
|
||||||
a non-owning reference to a single linear buffer of bytes.
|
a non-owning reference to a single linear buffer of bytes.
|
||||||
Messages with this body type may be serialized and parsed.
|
Messages with this body type may be serialized and parsed.
|
||||||
]]
|
]]
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
<entry valign="top">
|
<entry valign="top">
|
||||||
<bridgehead renderas="sect3">Classes <emphasis role="normal">(2 of 2)</emphasis></bridgehead>
|
<bridgehead renderas="sect3">Classes <emphasis role="normal">(2 of 2)</emphasis></bridgehead>
|
||||||
<simplelist type="vert" columns="1">
|
<simplelist type="vert" columns="1">
|
||||||
<member><link linkend="beast.ref.boost__beast__span">span</link></member>
|
|
||||||
<member><link linkend="beast.ref.boost__beast__static_string">static_string</link></member>
|
<member><link linkend="beast.ref.boost__beast__static_string">static_string</link></member>
|
||||||
<member><link linkend="beast.ref.boost__beast__stable_async_base">stable_async_base</link></member>
|
<member><link linkend="beast.ref.boost__beast__stable_async_base">stable_async_base</link></member>
|
||||||
<member><link linkend="beast.ref.boost__beast__string_view">string_view</link></member>
|
<member><link linkend="beast.ref.boost__beast__string_view">string_view</link></member>
|
||||||
|
@ -222,7 +222,9 @@ private:
|
|||||||
subrange<false>
|
subrange<false>
|
||||||
make_subrange(std::size_t pos, std::size_t n) const;
|
make_subrange(std::size_t pos, std::size_t n) const;
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend struct buffers_adaptor_test_hook;
|
friend struct buffers_adaptor_test_hook;
|
||||||
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,8 +41,10 @@ namespace beast {
|
|||||||
class rate_policy_access
|
class rate_policy_access
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
template<class, class, class>
|
template<class, class, class>
|
||||||
friend class basic_stream;
|
friend class basic_stream;
|
||||||
|
#endif
|
||||||
|
|
||||||
template<class Policy>
|
template<class Policy>
|
||||||
static
|
static
|
||||||
@ -101,7 +103,9 @@ private:
|
|||||||
*/
|
*/
|
||||||
class unlimited_rate_policy
|
class unlimited_rate_policy
|
||||||
{
|
{
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class rate_policy_access;
|
friend class rate_policy_access;
|
||||||
|
#endif
|
||||||
|
|
||||||
static std::size_t constexpr all =
|
static std::size_t constexpr all =
|
||||||
(std::numeric_limits<std::size_t>::max)();
|
(std::numeric_limits<std::size_t>::max)();
|
||||||
@ -149,7 +153,9 @@ class unlimited_rate_policy
|
|||||||
*/
|
*/
|
||||||
class simple_rate_policy
|
class simple_rate_policy
|
||||||
{
|
{
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class rate_policy_access;
|
friend class rate_policy_access;
|
||||||
|
#endif
|
||||||
|
|
||||||
static std::size_t constexpr all =
|
static std::size_t constexpr all =
|
||||||
(std::numeric_limits<std::size_t>::max)();
|
(std::numeric_limits<std::size_t>::max)();
|
||||||
|
@ -85,9 +85,11 @@ class basic_file_body<File>::value_type
|
|||||||
// This body container holds a handle to the file
|
// This body container holds a handle to the file
|
||||||
// when it is open, and also caches the size when set.
|
// when it is open, and also caches the size when set.
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class reader;
|
friend class reader;
|
||||||
friend class writer;
|
friend class writer;
|
||||||
friend struct basic_file_body;
|
friend struct basic_file_body;
|
||||||
|
#endif
|
||||||
|
|
||||||
// This represents the open file
|
// This represents the open file
|
||||||
File file_;
|
File file_;
|
||||||
|
@ -130,7 +130,9 @@ class basic_parser
|
|||||||
template<bool OtherIsRequest>
|
template<bool OtherIsRequest>
|
||||||
friend class basic_parser;
|
friend class basic_parser;
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class basic_parser_test;
|
friend class basic_parser_test;
|
||||||
|
#endif
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/// Default constructor
|
/// Default constructor
|
||||||
|
@ -59,7 +59,9 @@ class basic_fields
|
|||||||
std::allocator_traits<Allocator>::pointer>::value,
|
std::allocator_traits<Allocator>::pointer>::value,
|
||||||
"Allocator must use regular pointers");
|
"Allocator must use regular pointers");
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class fields_test; // for `header`
|
friend class fields_test; // for `header`
|
||||||
|
#endif
|
||||||
|
|
||||||
struct element;
|
struct element;
|
||||||
|
|
||||||
@ -72,7 +74,9 @@ public:
|
|||||||
/// The type of element used to represent a field
|
/// The type of element used to represent a field
|
||||||
class value_type
|
class value_type
|
||||||
{
|
{
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class basic_fields;
|
friend class basic_fields;
|
||||||
|
#endif
|
||||||
|
|
||||||
off_t off_;
|
off_t off_;
|
||||||
off_t len_;
|
off_t len_;
|
||||||
|
@ -139,6 +139,7 @@ class stream
|
|||||||
using control_cb_type =
|
using control_cb_type =
|
||||||
std::function<void(frame_type, string_view)>;
|
std::function<void(frame_type, string_view)>;
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
friend class close_test;
|
friend class close_test;
|
||||||
friend class frame_test;
|
friend class frame_test;
|
||||||
friend class ping_test;
|
friend class ping_test;
|
||||||
@ -153,6 +154,7 @@ class stream
|
|||||||
*/
|
*/
|
||||||
static std::size_t constexpr max_control_frame_size = 2 + 8 + 4 + 125;
|
static std::size_t constexpr max_control_frame_size = 2 + 8 + 4 + 125;
|
||||||
static std::size_t constexpr tcp_frame_size = 1536;
|
static std::size_t constexpr tcp_frame_size = 1536;
|
||||||
|
#endif
|
||||||
|
|
||||||
static time_point never() noexcept
|
static time_point never() noexcept
|
||||||
{
|
{
|
||||||
|
@ -54,8 +54,10 @@ struct stream_base
|
|||||||
{
|
{
|
||||||
detail::decorator d_;
|
detail::decorator d_;
|
||||||
|
|
||||||
|
#ifndef BOOST_BEAST_DOXYGEN
|
||||||
template<class, bool>
|
template<class, bool>
|
||||||
friend class stream;
|
friend class stream;
|
||||||
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Move Constructor
|
// Move Constructor
|
||||||
|
Reference in New Issue
Block a user