the callback that receives a seek offset and a seek position etc.c.curl.CurlSeekPos
The callback returns the success state of the seeking etc.c.curl.CurlSeek
import std.net.curl; Curl curl; curl.initialize(); curl.set(CurlOption.url, "http://dlang.org"); curl.onSeek = (long p, CurlSeekPos sp) { return CurlSeek.cantseek; }; curl.perform();
The event handler that gets called when the curl backend needs to seek the data to be sent.