CefURLRequest

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

Types

Link copied to clipboard
enum Status

Functions

Link copied to clipboard
abstract fun cancel()
Cancel the request.
Link copied to clipboard
Create a new URL request.
Link copied to clipboard
abstract fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
Returns the client.
Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
abstract fun getRequest(): CefRequest
Returns the request object used to create this URL request.
Link copied to clipboard
Returns the request error if status is UR_CANCELED or UR_FAILED, or 0 otherwise.
Link copied to clipboard
Returns the request status.
Link copied to clipboard
abstract fun getResponse(): CefResponse
Returns the response, or NULL if no response information is available.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.