on_document_begin Event
Marks the start of the incoming HTML document or file.
Syntax
class RESTClientDocumentBeginEventParams(object): # In class RESTClient: @property def on_document_begin() -> Callable[[RESTClientDocumentBeginEventParams], None]: ... @on_document_begin.setter def on_document_begin(event_hook: Callable[[RESTClientDocumentBeginEventParams], None]) -> None: ...
Remarks
This event is followed by one or more on_progress calls. When the document has been received in full, the on_document_end event is fired.