Click or drag to resize

CefUrlRequest Class

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.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefUrlRequest

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class CefUrlRequest : IDisposable

The CefUrlRequest type exposes the following members.

Properties
  NameDescription
Public propertyRequestError
Returns the request error if status is UR_CANCELED or UR_FAILED, or 0 otherwise.
Public propertyRequestStatus
Returns the request status.
Top
Methods
  NameDescription
Public methodCancel
Cancel the request.
Public methodStatic memberCreate
Create a new URL request. Only GET, POST, HEAD, DELETE and PUT request methods are supported. Multiple post data elements are not supported and elements of type PDE_TYPE_FILE are only supported for requests originating from the browser process. Requests originating from the render process will receive the same handling as requests originating from Web content -- if the response contains Content-Disposition or Mime-Type header values that would not normally be rendered then the response may receive special handling inside the browser (for example, via the file download code path instead of the URL request code path). The |request| object will be marked as read-only after calling this method. In the browser process if |request_context| is empty the global request context will be used. In the render process |request_context| must be empty and the context associated with the current renderer process' browser will be used.
Public methodDispose
Releases all resources used by the CefUrlRequest
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetClient
Returns the client.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRequest
Returns the request object used to create this URL request. The returned object is read-only and should not be modified.
Public methodGetResponse
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also