class http_stream_sink - 5cript/attender GitHub Wiki
class http_stream_sink
: public attender::http_read_sink
| Members | Descriptions |
|---|---|
public explicit http_stream_sink(std::ostream * sink) |
|
public virtual size_type write(const char * data,size_type size) |
|
public virtual size_type write(std::vector< char > const & buffer,size_type amount) |
-
dataThe data to write to the sink -
sizeThe amount of bytes to write to the sink.
Returns: Returns the actual amount of bytes written to the sink.
-
bufferThe data to write to the sink. -
amountThe amount of bytes to write to the sink.
Returns: Returns the actual amount of bytes written to the sink.