[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.)
Called on the IO thread when the browser needs credentials from the user. |IsProxy| indicates whether the host is a proxy server. |Host| contains the hostname and |Port| contains the port number. Return true (1) to continue the request and call CfxAuthCallback.Continue() when the authentication information is available. Return false (0) to cancel the request. This function will only be called for requests initiated from the browser process.
Called when some part of the response is read. |Data| contains the current bytes received since the last call. This function will not be called if the UR_FLAG_NO_DOWNLOAD_DATA flag is set on the request.
Notifies the client of download progress. |Current| denotes the number of bytes received up to the call and |Total| is the expected total size of the response (or -1 if not determined).
Notifies the client that the request has completed. Use the CfxUrlRequest.GetRequestStatus function to determine if the request was successful or not.
Notifies the client of upload progress. |Current| denotes the number of bytes sent so far and |Total| is the total size of uploading data (or -1 if chunked upload is enabled). This function will only be called if the UR_FLAG_REPORT_UPLOAD_PROGRESS flag is set on the request.