Reads files from the filesystem and pages from servers via HTTP.
Declaration Syntax
C# | Visual Basic |
public class Reader
Public Class Reader
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Reader(Configuration) |
Constructs a new Reader instance.
| |
CheckRedirection(WebRequest, WebResponse) |
Checks if a redirection occurred - and returns true if it was to the error page specified in Configuration.ErrorPageRedir
| |
Configuration |
Gets the instance of the Configuration class that holds the settings to be used.
| |
DecompressStream(String, Stream) |
Decompresses the response stream if compressed with 'deflate' or 'gzip', if not compressed with either
then the original stream is returned.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFileType(Uri) |
Retrieves the mime-type for the specified Uri
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLastModifiedDate(Uri) |
Gets the date the file was last modified
| |
GetStream(Uri) |
Returns the document at uri as a stream.
| |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
LastContentDispositionFilename |
If not null/Nothing, is the last filename specified by Content-Disposition header.
| |
LastResponseContentLength |
The length of the content in the response, or -1 if no information available.
| |
LastResponseEncoding |
The name of the encoding used with the most recent response. This may be empty or null.
| |
LastResponseFileType |
The mimetype returned in the last reponse obtained.
| |
LastResponseLastModifiedDate |
The last-modified-date returned in the last reponse obtained.
| |
LastResponseStatusCode |
The status code from the last server response.
| |
LastResponseUri |
The Uri given in the response from the server.
| |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Request(Uri) |
Creates a request to Uri and returns the response from the server.
| |
TestUri(Uri, Configuration, CentralizedInternalEventNotifier) |
Tests a Uri, returning the WebException that occurred, or null/nothing if there wasn't one.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |
Reader |
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610