kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
kaycxx::http::sized_istream Class Reference

Input stream request body with a known byte count. More...

#include <kaycxx/http/sized_istream.hpp>

Public Member Functions

 sized_istream (std::istream &input, std::uint64_t size) noexcept
 Associates an input stream with the number of bytes to read from it.

Friends

class request_body

Detailed Description

Input stream request body with a known byte count.

Constructor & Destructor Documentation

◆ sized_istream()

kaycxx::http::sized_istream::sized_istream ( std::istream & input,
std::uint64_t size )
noexcept

Associates an input stream with the number of bytes to read from it.

Parameters
inputInput stream providing the request body.
sizeNumber of bytes to read from the input stream.

The documentation for this class was generated from the following file: