cef_resource_read_callback_t

version(cef && embedded_cef_bindings)
extern (C)
struct cef_resource_read_callback_t {}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

cont
void function(cef_resource_read_callback_t* self, int bytes_read) nothrow cont;

Callback for asynchronous continuation of read(). If |bytes_read| == 0 the response will be considered complete. If |bytes_read| > 0 then read() will be called again until the request is complete (based on either the result or the expected content length). If |bytes_read| < 0 then the request will fail and the |bytes_read| value will be treated as the error code.

Meta