msgid ""
msgstr ""
"Project-Id-Version: English (Boost Beast Translation (zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-07 11:05+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: English <https://insights.cppalliance.org/weblate/projects/"
"boost-beast-documentation-zh_Hans/doc-qbk-07-concepts-body-qbk/en/>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.5\n"

#. type: section title
#: 10
#, read-only
msgid "Body"
msgstr "Body"

#. type: paragraph
#: 12
#, read-only
msgid ""
"A [*Body] type is supplied as a template argument to the __message__ class. "
"It controls both the type of the data member of the resulting message "
"object, and the algorithms used during parsing and serialization."
msgstr ""
"A [*Body] type is supplied as a template argument to the __message__ class. "
"It controls both the type of the data member of the resulting message "
"object, and the algorithms used during parsing and serialization."

#. type: heading
#: 16
#, read-only
msgid "Associated Types"
msgstr "Associated Types"

#. type: list
#: 18
#, read-only
msgid ""
"* [link beast.ref.boost__beast__http__is_body `is_body`]\n"
"* __BodyReader__\n"
"* __BodyWriter__"
msgstr ""
"* [link beast.ref.boost__beast__http__is_body `is_body`]\n"
"* __BodyReader__\n"
"* __BodyWriter__"

#. type: heading
#: 22
#, read-only
msgid "Requirements"
msgstr "Requirements"

#. type: paragraph
#: 24
#, read-only
msgid "In this table:"
msgstr "In this table:"

#. type: list
#: 26
#, read-only
msgid ""
"* `B` is a type meeting the requirements of [*Body].\n"
"* `m` is a value of type `message<b,B,F>` where `b` is a `bool` value"
msgstr ""
"* `B` is a type meeting the requirements of [*Body].\n"
"* `m` is a value of type `message<b,B,F>` where `b` is a `bool` value"

#. type: table title
#: 30
#, read-only
msgid "Valid expressions"
msgstr "Valid expressions"

#. type: table cell
#: 30
#, read-only
msgid "Expression"
msgstr "Expression"

#. type: table cell
#: 30
#, read-only
msgid "Type"
msgstr "Type"

#. type: table cell
#: 30
#, read-only
msgid "Semantics, Pre/Post-conditions"
msgstr "Semantics, Pre/Post-conditions"

#. type: table cell
#: 30
#, read-only
msgid "`B::value_type`"
msgstr "`B::value_type`"

#. type: table cell
#: 30
#, read-only
msgid ""
"The return type of the `message::body` member function. If this is not "
"movable or not copyable, the containing message will be not movable or not "
"copyable."
msgstr ""
"The return type of the `message::body` member function. If this is not "
"movable or not copyable, the containing message will be not movable or not "
"copyable."

#. type: table cell
#: 30
#, read-only
msgid "`B::reader`"
msgstr "`B::reader`"

#. type: table cell
#: 30
#, read-only
msgid ""
"If present, indicates that the body can be parsed. The type must meet the "
"requirements of __BodyReader__. The implementation constructs an object of "
"this type to obtain buffers into which parsed body octets are placed."
msgstr ""
"If present, indicates that the body can be parsed. The type must meet the "
"requirements of __BodyReader__. The implementation constructs an object of "
"this type to obtain buffers into which parsed body octets are placed."

#. type: table cell
#: 30
#, read-only
msgid "`B::writer`"
msgstr "`B::writer`"

#. type: table cell
#: 30
#, read-only
msgid ""
"If present, indicates that the body is serializable. The type must meet the "
"requirements of __BodyWriter__. The implementation constructs an object of "
"this type to obtain buffers representing the message body for serialization."
msgstr ""
"If present, indicates that the body is serializable. The type must meet the "
"requirements of __BodyWriter__. The implementation constructs an object of "
"this type to obtain buffers representing the message body for serialization."

#. type: table code
#: 30
#, read-only
msgid ""
"B::size(\n"
"B::value_type body)"
msgstr ""
"B::size(\n"
"B::value_type body)"

#. type: table cell
#: 30
#, read-only
msgid "`std::uint64_t`"
msgstr "`std::uint64_t`"

#. type: table cell
#: 30
#, read-only
msgid ""
"This static member function is optional. It returns the payload size of "
"`body` in bytes not including any chunked transfer encoding. The return "
"value may be zero, to indicate that the message is known to have no payload. "
"The function shall not exit via an exception.\n"
"\n"
"When this function is present:\n"
"\n"
"* The function shall not fail\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.payload_size "
"`message::payload_size`] will return the same value as `size`.\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.prepare_payload "
"`message::prepare_payload`] will remove \"chunked\" from the Transfer-"
"Encoding field if it appears as the last encoding, and will set the Content-"
"Length field to the returned value.\n"
"\n"
"Otherwise, when the function is omitted:\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.payload_size "
"`message::payload_size`] will return `boost::none`.\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.prepare_payload "
"`message::prepare_payload`] will erase the Content-Length field, and add "
"\"chunked\" as the last encoding in the Transfer-Encoding field if it is not "
"already present."
msgstr ""
"This static member function is optional. It returns the payload size of "
"`body` in bytes not including any chunked transfer encoding. The return "
"value may be zero, to indicate that the message is known to have no payload. "
"The function shall not exit via an exception.\n"
"\n"
"When this function is present:\n"
"\n"
"* The function shall not fail\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.payload_size "
"`message::payload_size`] will return the same value as `size`.\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.prepare_payload "
"`message::prepare_payload`] will remove \"chunked\" from the Transfer-"
"Encoding field if it appears as the last encoding, and will set the Content-"
"Length field to the returned value.\n"
"\n"
"Otherwise, when the function is omitted:\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.payload_size "
"`message::payload_size`] will return `boost::none`.\n"
"\n"
"* A call to [link beast.ref.boost__beast__http__message.prepare_payload "
"`message::prepare_payload`] will erase the Content-Length field, and add "
"\"chunked\" as the last encoding in the Transfer-Encoding field if it is not "
"already present."

#. type: heading
#: 99
#, read-only
msgid "Exemplar"
msgstr "Exemplar"

#. type: heading
#: 103
#, read-only
msgid "Models"
msgstr "Models"

#. type: list
#: 105
#, read-only
msgid ""
"* [link beast.ref.boost__beast__http__basic_dynamic_body "
"`basic_dynamic_body`]\n"
"* [link beast.ref.boost__beast__http__basic_file_body `basic_file_body`]\n"
"* [link beast.ref.boost__beast__http__basic_string_body "
"`basic_string_body`]\n"
"* [link beast.ref.boost__beast__http__buffer_body `buffer_body`]\n"
"* [link beast.ref.boost__beast__http__empty_body `empty_body`]\n"
"* [link beast.ref.boost__beast__http__span_body `span_body`]\n"
"* [link beast.ref.boost__beast__http__vector_body `vector_body`]"
msgstr ""
"* [link beast.ref.boost__beast__http__basic_dynamic_body "
"`basic_dynamic_body`]\n"
"* [link beast.ref.boost__beast__http__basic_file_body `basic_file_body`]\n"
"* [link beast.ref.boost__beast__http__basic_string_body "
"`basic_string_body`]\n"
"* [link beast.ref.boost__beast__http__buffer_body `buffer_body`]\n"
"* [link beast.ref.boost__beast__http__empty_body `empty_body`]\n"
"* [link beast.ref.boost__beast__http__span_body `span_body`]\n"
"* [link beast.ref.boost__beast__http__vector_body `vector_body`]"
