This repository was archived by the owner on Nov 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
class http_string_sink
5cript edited this page Apr 25, 2021
·
1 revision
class http_string_sink
: public attender::http_read_sink
| Members | Descriptions |
|---|---|
public explicit http_string_sink(std::string * 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.