The OpenD Programming Language

cef_urlrequest_t

Structure used to make a URL request. URL requests are not associated with a browser instance so no cef_client_t callbacks will be executed. URL requests can be created on any valid CEF thread in either the browser or render process. Once created the functions of the URL request object must be accessed on the same thread that created it.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

cancel
void function(cef_urlrequest_t* self) nothrow cancel;

Cancel the request.

get_client
cef_urlrequest_client_t* function(cef_urlrequest_t* self) nothrow get_client;

Returns the client.

get_request_error
cef_errorcode_t function(cef_urlrequest_t* self) nothrow get_request_error;

Returns the request error if status is UR_CANCELED or UR_FAILED, or 0 otherwise.

get_request_status
cef_urlrequest_status_t function(cef_urlrequest_t* self) nothrow get_request_status;

Returns the request status.

get_response
cef_response_t* function(cef_urlrequest_t* self) nothrow get_response;

Returns the response, or NULL if no response information is available. Response information will only be available after the upload has completed. The returned object is read-only and should not be modified.

response_was_cached
int function(cef_urlrequest_t* self) nothrow response_was_cached;

Returns true (1) if the response body was served from the cache. This includes responses for which revalidation was required.

Meta