Click or drag to resize

IResourceHandlerSkip Method

Version 130.1.90
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: 129.0.110.0 (129.0.110.0)
Syntax
bool Skip(
	long bytesToSkip,
	out long bytesSkipped,
	IResourceSkipCallback callback
)

Parameters

bytesToSkip  Int64
number of bytes to be skipped
bytesSkipped  Int64
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  IResourceSkipCallback
To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available.

Return Value

Boolean
See summary
See Also