Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 19 of 19) sorted by relevance

/haiku/headers/private/netservices2/
H A DHttpRequest.h86 struct Body;
105 const Body* RequestBody() const noexcept;
140 struct BHttpRequest::Body { struct
H A DHttpResult.h120 BHttpBody& Body() const;
/haiku/src/kits/network/libnetservices2/
H A DHttpSerializer.cpp70 fState = HttpSerializerState::Body; in Serialize()
73 case HttpSerializerState::Body: in Serialize()
H A DHttpParser.cpp131 fStreamState = HttpInputStreamState::Body; in ParseFields()
156 fStreamState = HttpInputStreamState::Body; in ParseFields()
166 fStreamState = HttpInputStreamState::Body; in ParseFields()
204 if (fStreamState < HttpInputStreamState::Body || fStreamState == HttpInputStreamState::Done) in ParseBody()
H A DHttpSerializer.h25 enum class HttpSerializerState { Uninitialized, Header, ChunkHeader, Body, Done }; enumerator
H A DHttpParser.h26 enum class HttpInputStreamState { StatusLine, Fields, Body, Done }; enumerator
H A DHttpRequest.cpp172 std::optional<Body> requestBody;
262 const BHttpRequest::Body*
H A DHttpResult.cpp210 BHttpResult::Body() const in Body() function in BHttpResult
H A DHttpSession.cpp990 case HttpInputStreamState::Body: in ReceiveResult()
/haiku/src/tests/kits/net/netservices2/
H A DHttpProtocolTest.cpp553 auto receivedBody = result.Body().text; in GetTest()
569 result.Body(); in GetWithBufferTest()
597 CPPUNIT_ASSERT(result.Body().text->Length() == 0); in HeadTest()
630 CPPUNIT_ASSERT(result.Body().text->Length() == 0); in NoContentTest()
654 auto receivedBody = result.Body().text; in AutoRedirectTest()
693 CPPUNIT_ASSERT(result.Body().text->Length() == 0); in StopOnErrorTest()
708 result.Body(); in RequestCancelTest()
775 CPPUNIT_ASSERT(result.Body().text.has_value()); in PostTest()
776 CPPUNIT_ASSERT_EQUAL(kExpectedPostBody.Length(), result.Body().text.value().Length()); in PostTest()
777 CPPUNIT_ASSERT(result.Body().text.value() == kExpectedPostBody); in PostTest()
/haiku/src/add-ons/mail_daemon/outbound_filters/fortune/
H A DFortuneFilter.cpp87 BTextMailComponent* body = mailMessage.Body(); in MessageReadyToSend()
/haiku/headers/os/mail/
H A DMailMessage.h109 BTextMailComponent* Body();
/haiku/docs/user/netservices/
H A DHttpResult.dox120 You will usually get a reference to this object through the \ref BHttpResult::Body() method.
150 The \ref Status(), \ref Fields() and \ref Body() methods will yield the respective data. If it
294 \retval true The body of the response is available using the \ref Body() method.
295 \retval false The body is not yet available. Any call to \ref Body() will block.
368 \fn BHttpBody& BHttpResult::Body() const
H A DHttpRequest.dox306 \struct BHttpRequest::Body
315 \var std::unique_ptr<BDataIO> BHttpRequest::Body::input
323 \var BString BHttpRequest::Body::mimeType
333 \var std::optional<off_t> BHttpRequest::Body::size
341 \var std::optional<off_t> BHttpRequest::Body::startPosition
392 <td> Body contents that is sent with the request. </td>
582 \fn const BHttpRequest::Body* BHttpRequest::RequestBody() const noexcept
H A DHttpSession.dox176 object through the matching \ref BExclusiveBorrow object. Use the \ref BHttpResult::Body()
/haiku/src/apps/mail/
H A DEnclosures.cpp302 if (component == mail->Body()) in AddEnclosuresFromMail()
308 mail->Body()); in AddEnclosuresFromMail()
H A DContent.cpp2034 BTextMailComponent *body = mail->Body(); in AddAsContent()
2516 body = mail->Body(); in Run()
/haiku/src/kits/mail/
H A DMailMessage.cpp161 reply->Body()->Quote(quoteStyle); in ReplyMessage()
596 BEmailMessage::Body() in Body() function in BEmailMessage
608 if (Body() == NULL) in BodyText()
/haiku/src/data/ids/
H A Dusb.ids21183 0001 Wi-Fi Body Scale (WBS01)
22294 0100 Body Pack
24257 043 Vector-X relative Body
24258 044 Vector-Y relative Body
24259 045 Vector-Z relative Body
24335 002 Body Suit