IResourceReadCallbackContinue Method |
Version 75.1.140
Callback for asynchronous continuation of [!:IResourceHandler.Read(System.IO.Stream, int, out int, IResourceReadCallback)]. If bytesRead == 0
the response will be considered complete.
Namespace:
CefSharp.Callback
Assembly:
CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax void Continue(
int bytesRead
)
void Continue(
int bytesRead
)
Parameters
- bytesRead
- Type: SystemInt32
If bytesRead == 0 the response will be considered complete.
If bytesRead > 0 then [!:IResourceHandler.Read(System.IO.Stream, int, out int, IResourceReadCallback)] will be called again until the request is complete (based on either the
result or the expected content length). If bytesRead < 0 then the
request will fail and the bytesRead value will be treated as the error
code.
See Also