Class WebResource
- Namespace
- ScrapySharp.Network
- Assembly
- ScrapySharp.dll
public class WebResource : IDisposable
- Inheritance
-
WebResource
- Implements
-
- Inherited Members
-
Constructors
WebResource(MemoryStream, string, Uri, bool, string)
public WebResource(MemoryStream content, string lastModified, Uri absoluteUrl, bool forceDownload, string contentType)
Parameters
content
MemoryStream
lastModified
string
absoluteUrl
Uri
forceDownload
bool
contentType
string
Properties
AbsoluteUrl
public Uri AbsoluteUrl { get; }
Property Value
- Uri
Content
public MemoryStream Content { get; }
Property Value
- MemoryStream
ContentType
public string ContentType { get; }
Property Value
- string
ForceDownload
public bool ForceDownload { get; }
Property Value
- bool
LastModified
public string LastModified { get; }
Property Value
- string
Methods
Dispose()
GetTextContent()
public string GetTextContent()
Returns
- string