[This is preliminary documentation and is subject to change.]
Thetype exposes the following members.
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.(Inherited from CfxClientBase.)
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.(Inherited from CfxClientBase.)
Request processing has been canceled.
Return true (1) if the specified cookie can be sent with the request or false (0) otherwise. If false (0) is returned for any cookie then no cookies will be sent with the request.
Return true (1) if the specified cookie returned with the response can be set or false (0) otherwise.
Retrieve response header information. If the response length is not known set |ResponseLength| to -1 and read_response() will be called until it returns false (0). If the response length is known set |ResponseLength| to a positive value and read_response() will be called until it returns false (0) 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 set_error() on |Response| to indicate the error condition.
Begin processing the request. To handle the request return true (1) and call CfxCallback.Continue() once the response header information is available (CfxCallback.Continue() can also be called from inside this function if header information is available immediately). To cancel the request return false (0).
Read response data. If data is available immediately copy up to |BytesToRead| bytes into |DataOut|, set |BytesRead| to the number of bytes copied, and return true (1). To read the data at a later time set |BytesRead| to 0, return true (1) and call CfxCallback.Continue() when the data is available. To indicate response completion return false (0).