Home
last modified time | relevance | path

Searched refs:HttpTransferFunction (Results 1 – 5 of 5) sorted by relevance

/haiku/src/kits/network/libnetservices2/
H A DHttpParser.h23 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>; variable
53 size_t ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody,
78 HttpTransferFunction writeToBody, bool readEnd) = 0;
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.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>; variable
32 size_t WriteTo(HttpTransferFunction func,
34 void WriteExactlyTo(HttpTransferFunction func,
H A DHttpParser.cpp202 HttpParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd) in ParseBody()
328 HttpRawBodyParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd) in ParseBody()
389 HttpChunkedBodyParser::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd) in ParseBody()
531 HttpBodyDecompression::ParseBody(HttpBuffer& buffer, HttpTransferFunction writeToBody, bool readEnd) in ParseBody()
H A DHttpSerializer.h22 using HttpTransferFunction = std::function<size_t(const std::byte*, size_t)>; variable
H A DHttpBuffer.cpp87 HttpBuffer::WriteTo(HttpTransferFunction func, std::optional<size_t> maxSize) in WriteTo()