DocumentBegin Event
Marks the start of the incoming HTML document or file.
Syntax
public event OnDocumentBeginHandler OnDocumentBegin; public delegate void OnDocumentBeginHandler(object sender, RestclientDocumentBeginEventArgs e); public class RestclientDocumentBeginEventArgs : EventArgs { }
Public Event OnDocumentBegin As OnDocumentBeginHandler Public Delegate Sub OnDocumentBeginHandler(sender As Object, e As RestclientDocumentBeginEventArgs) Public Class RestclientDocumentBeginEventArgs Inherits EventArgs End Class
Remarks
This event is followed by one or more Progress calls. When the document has been received in full, the DocumentEnd event is fired.