Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::http::StreamingBody Class Reference

#include <body.h>

Inheritance diagram for fastly::http::StreamingBody:

Public Member Functions

 StreamingBody (StreamingBody &&other)
fastly::expected< void > finish ()
void append (Body other)
fastly::expected< size_t > write (uint8_t *buf, size_t bufsize)
fastly::expected< void > append_trailer (std::string_view header_name, std::string_view header_value)

Protected Member Functions

int overflow (int_type val)
int sync ()

Friends

std::pair< fastly::expected< Response >, std::vector< request::PendingRequest > > request::select (std::vector< request::PendingRequest > &reqs)

Constructor & Destructor Documentation

◆ StreamingBody()

fastly::http::StreamingBody::StreamingBody ( StreamingBody && other)
inline

Member Function Documentation

◆ append()

void fastly::http::StreamingBody::append ( Body other)

◆ append_trailer()

fastly::expected< void > fastly::http::StreamingBody::append_trailer ( std::string_view header_name,
std::string_view header_value )

◆ finish()

fastly::expected< void > fastly::http::StreamingBody::finish ( )

◆ overflow()

int fastly::http::StreamingBody::overflow ( int_type val)
protected

◆ sync()

int fastly::http::StreamingBody::sync ( )
protected

◆ write()

fastly::expected< size_t > fastly::http::StreamingBody::write ( uint8_t * buf,
size_t bufsize )

◆ request::select

std::pair< fastly::expected< Response >, std::vector< request::PendingRequest > > request::select ( std::vector< request::PendingRequest > & reqs)
friend

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