The OpenD Programming Language

cef_server_t.send_http200response

Send an HTTP 200 "OK" response to the connection identified by |connection_id|. |content_type| is the response content type (e.g. "text/html"), |data| is the response content, and |data_size| is the size of |data| in bytes. The contents of |data| will be copied. The connection will be closed automatically after the response is sent.

struct cef_server_t
extern (System)
void function(cef_server_t* self, int connection_id, const(cef_string_t)* content_type, const(void)* data, size_t data_size) nothrow send_http200response;

Meta