View definition

func NewDocumentFromResponse

Defined in


NewDocumentFromResponse is another Document constructor that takes an http response as argument. It loads the specified response's document, parses it, and stores the root Document node, ready to be manipulated. The response's body is closed on return.

NewDocumentFromResponse is referenced in 102 repositories