Searched refs:HttpBuffer (Results 1 - 9 of 9) sorted by relevance

/haiku/src/kits/network/libnetservices2/
H A DHttpBuffer.cpp9 #include "HttpBuffer.h"
29 HttpBuffer::HttpBuffer(size_t capacity) function in class:HttpBuffer
44 HttpBuffer::ReadFrom(BDataIO* source, std::optional<size_t> maxSize)
87 HttpBuffer::WriteTo(HttpTransferFunction func, std::optional<size_t> maxSize)
117 HttpBuffer::GetNextLine()
135 HttpBuffer::RemainingBytes() const noexcept
149 HttpBuffer::Flush() noexcept
163 HttpBuffer::Clear() noexcept
174 HttpBuffer
[all...]
H A DHttpSerializer.h20 class HttpBuffer;
33 void SetTo(HttpBuffer& buffer, const BHttpRequest& request);
36 size_t Serialize(HttpBuffer& buffer, BDataIO* target);
44 size_t _WriteToTarget(HttpBuffer& buffer, BDataIO* target) const;
H A DHttpParser.h15 #include "HttpBuffer.h"
51 bool ParseStatus(HttpBuffer& buffer, BHttpStatus& status);
52 bool ParseFields(HttpBuffer& buffer, BHttpFields& fields);
53 size_t ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody,
77 virtual BodyParseResult ParseBody(HttpBuffer& buffer,
94 virtual BodyParseResult ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody,
107 HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd) override;
120 virtual BodyParseResult ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody,
H A DHttpBuffer.h25 class HttpBuffer class in namespace:BPrivate::Network
28 HttpBuffer(size_t capacity = 8 * 1024);
46 HttpBuffer& operator<<(const std::string_view& data);
H A DHttpSerializer.cpp15 #include "HttpBuffer.h"
25 HttpSerializer::SetTo(HttpBuffer& buffer, const BHttpRequest& request)
46 HttpSerializer::Serialize(HttpBuffer& buffer, BDataIO* target)
117 HttpSerializer::_WriteToTarget(HttpBuffer& buffer, BDataIO* target) const
H A DHttpParser.cpp49 HttpParser::ParseStatus(HttpBuffer& buffer, BHttpStatus& status)
99 HttpParser::ParseFields(HttpBuffer& buffer, BHttpFields& fields)
202 HttpParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd)
328 HttpRawBodyParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd)
389 HttpChunkedBodyParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd)
531 HttpBodyDecompression::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd)
H A DHttpRequest.cpp22 #include "HttpBuffer.h"
436 HttpBuffer buffer;
466 BHttpRequest::SerializeHeaderTo(HttpBuffer& buffer) const
H A DHttpSession.cpp34 #include "HttpBuffer.h"
107 HttpBuffer fBuffer;
/haiku/headers/private/netservices2/
H A DHttpRequest.h28 class HttpBuffer;
134 void SerializeHeaderTo(HttpBuffer& buffer) const;

Completed in 72 milliseconds