HttpWatch Automation Reference - Version 13.x
HttpWatch Namespace / Content Class
Properties Methods


In This Topic
    Content Class Members
    In This Topic

    The following tables list the members exposed by Content.

    Public Properties
     NameDescription
    Public PropertyGets the compressed size of the content in bytes.  
    Public PropertyGets the type of compression used by the server, e.g. "gzip" or "deflate".  
    Public Property

    Returns a byte array containing the raw content that was downloaded from the server or read from the browser cache.

    If you need to access textual content use the Text property instead as it automatically converts from the original text encoding into unicode characters.

     
    Public PropertyReturns a value from the CONTENT_ENCODING enum that indicates how textual content was encoded by the server, e.g. UTF8  
    Public PropertyGets the height of the image in pixels.  
    Public PropertyGets the width of the image in pixels.  
    Public PropertyGets a value indicating whether the content was compressed in the HTTP response message from the server.  
    Public PropertyReturns a boolean indicating whether the content was read from the local browser cache.  
    Public PropertyA boolean value indicating if the content returned from the server or read from the browser cache contains an image resource  
    Public PropertyGets the type of the content.  (E.g. "text/html" or "image/gif")  
    Public PropertyGets the uncompressed size of the content, in bytes.  
    Public Property

    Returns a string value containing the unicode version of textual content that was downloaded from the server or read from the browser cache.

    For access to non-textual content or if you require the original text before conversion to Unicode use the Data property instead.

     

     
    Top
    Public Methods
     NameDescription
    Public MethodExports images, HTML and script files from a web page.  
    Top
    See Also