CefSharp.ResourceHandler.ProcessRequestAsync C# (CSharp) Method

ProcessRequestAsync() public method

Begin processing the request. If you have the data in memory you can execute the callback immediately and return true. For Async processing you would typically spawn a Task to perform processing, then return true. When the processing is complete execute callback.Continue(); In your processing Task, simply set the StatusCode, StatusText, MimeType, ResponseLength and Stream
public ProcessRequestAsync ( IRequest request, ICallback callback ) : bool
request IRequest The request object.
callback ICallback The callback used to Continue or Cancel the request (async).
return bool
        public virtual bool ProcessRequestAsync(IRequest request, ICallback callback)
        {
            callback.Continue();

            return true;
        }