namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
///
/// Callback interface used for asynchronous continuation of url requests.
///
public sealed unsafe partial class CefRequestCallback
{
///
/// Continue the url request. If |allow| is true the request will be continued.
/// Otherwise, the request will be canceled.
///
public void Continue(bool allow)
{
cef_request_callback_t.cont(_self, allow ? 1 : 0);
}
///
/// Cancel the url request.
///
public void Cancel()
{
cef_request_callback_t.cancel(_self);
}
}
}