123456789101112131415161718192021222324252627 |
- namespace Xilium.CefGlue
- {
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using Xilium.CefGlue.Interop;
- /// <summary>
- /// Callback for asynchronous continuation of CefResourceHandler::Read().
- /// </summary>
- public sealed unsafe partial class CefResourceReadCallback
- {
- /// <summary>
- /// Callback for asynchronous continuation of Read(). If |bytes_read| == 0
- /// the response will be considered complete. If |bytes_read| > 0 then Read()
- /// will be called again until the request is complete (based on either the
- /// result or the expected content length). If |bytes_read| < 0 then the
- /// request will fail and the |bytes_read| value will be treated as the error
- /// code.
- /// </summary>
- public void Continue(int bytesRead)
- {
- cef_resource_read_callback_t.cont(_self, bytesRead);
- }
- }
- }
|