CefResourceSkipCallback.cs 903 B

12345678910111213141516171819202122232425
  1. namespace Xilium.CefGlue
  2. {
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Diagnostics;
  6. using System.Runtime.InteropServices;
  7. using Xilium.CefGlue.Interop;
  8. /// <summary>
  9. /// Callback for asynchronous continuation of CefResourceHandler::Skip().
  10. /// </summary>
  11. public sealed unsafe partial class CefResourceSkipCallback
  12. {
  13. /// <summary>
  14. /// Callback for asynchronous continuation of Skip(). If |bytes_skipped| > 0
  15. /// then either Skip() will be called again until the requested number of
  16. /// bytes have been skipped or the request will proceed. If |bytes_skipped|
  17. /// &lt;= 0 the request will fail with ERR_REQUEST_RANGE_NOT_SATISFIABLE.
  18. /// </summary>
  19. public void Continue(long bytesSkipped)
  20. {
  21. cef_resource_skip_callback_t.cont(_self, bytesSkipped);
  22. }
  23. }
  24. }