Boost.HTTP.Proto

    • HTTP Primer
    • Messages
    • Sans-I/O Philosophy
    • HTTP Protocol Basics
    • header_containers.adoc
    • Message Bodies
    • Serializing
    • Parsing
    • Message
    • Design Requirements
      • Serializer
      • Parser
    • Reference
  • boost::http_proto::message_base::payload_size
arrow_upward

boost::http_proto::message_base::payload_size

Return the payload size.

Synopsis

Declared in <boost/http_proto/message_base.hpp>

uint64_t
payload_size() const noexcept;

Description

When payload returns payload::size, this function returns the number of octets in the actual message payload.

Return Value

The number of octets in the actual message payload.

Created with MrDocs