IResourceHandlerSkip Method |
Version 112.3.0
Skip response data when requested by a Range header.
Skip over and discard bytesToSkip bytes of response data.
- If data is available immediately set bytesSkipped to the number of of bytes skipped and return true.
- To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available.
- To indicate failure set bytesSkipped to < 0 (e.g. -2 for ERR_FAILED) and return false.
This method will be called in sequence but not from a dedicated thread.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax bool Skip(
long bytesToSkip,
out long bytesSkipped,
IResourceSkipCallback callback
)
bool Skip(
long long bytesToSkip,
[OutAttribute] long long% bytesSkipped,
IResourceSkipCallback^ callback
)
Parameters
- bytesToSkip
- Type: SystemInt64
number of bytes to be skipped - bytesSkipped
- Type: SystemInt64
If data is available immediately set bytesSkipped to the number of of bytes skipped and return true.
To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available.
- callback
- Type: CefSharp.CallbackIResourceSkipCallback
To read the data at a later time set bytesSkipped to 0,
return true and execute callback when the data is available.
Return Value
Type:
BooleanSee summary
See Also