Click or drag to resize

CefResourceHandler Class

Class used to implement a custom request handler interface. The methods of this class will always be called on the IO thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefResourceHandler

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

The CefResourceHandler type exposes the following members.

Constructors
  NameDescription
Protected methodCefResourceHandler
Initializes a new instance of the CefResourceHandler class
Top
Properties
  NameDescription
Protected propertySyncRoot
Top
Methods
  NameDescription
Protected methodCancel
Request processing has been canceled.
Protected methodCanGetCookie
Return true if the specified cookie can be sent with the request or false otherwise. If false is returned for any cookie then no cookies will be sent with the request.
Protected methodCanSetCookie
Return true if the specified cookie returned with the response can be set or false otherwise.
Protected methodDispose
Releases the unmanaged resources used by the CefResourceHandler and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetResponseHeaders
Retrieve response header information. If the response length is not known set |response_length| to -1 and ReadResponse() will be called until it returns false. If the response length is known set |response_length| to a positive value and ReadResponse() will be called until it returns false or the specified number of bytes have been read. Use the |response| object to set the mime type, http status code and other optional header values. To redirect the request to a new URL set |redirectUrl| to the new URL. If an error occured while setting up the request you can call SetError() on |response| to indicate the error condition.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodKeepObject
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcessRequest
Begin processing the request. To handle the request return true and call CefCallback::Continue() once the response header information is available (CefCallback::Continue() can also be called from inside this method if header information is available immediately). To cancel the request return false.
Protected methodReadResponse
Read response data. If data is available immediately copy up to |bytes_to_read| bytes into |data_out|, set |bytes_read| to the number of bytes copied, and return true. To read the data at a later time set |bytes_read| to 0, return true and call CefCallback::Continue() when the data is available. To indicate response completion return false.
Public methodReleaseObject
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also