DocumentBegin Event
Marks the start of the incoming HTML document or file.
Syntax
httpclient.on('DocumentBegin', [callback])
Callback
The 'callback' is called when the 'DocumentBegin' event is emited.
function(e){ }
The argument 'e' has the following properties:
Remarks
This event is followed by one or more Progress calls. When the document has been received in full, the DocumentEnd event is fired.