C# Class Crowbar.ClientResponse

Defines the client response.
Mostra file Open project: mrydengren/crowbar Class Usage Examples

Public Methods

Method Description
AsCsQuery ( ) : CQ

Returns a DOM representation of the HTML document in the response body.

AsJson ( ) : dynamic

Gets a dynamic representation of the JSON in the response body.

AsXml ( ) : System.Xml.Linq.XElement

Returns an XElement of the XML in the response body.

Method Details

AsCsQuery() public method

Returns a DOM representation of the HTML document in the response body.
public AsCsQuery ( ) : CQ
return CsQuery.CQ

AsJson() public method

Gets a dynamic representation of the JSON in the response body.
public AsJson ( ) : dynamic
return dynamic

AsXml() public method

Returns an XElement of the XML in the response body.
public AsXml ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement