Click here to Skip to main content
15,885,216 members
Articles / Web Development / ASP.NET

HTTP Data Client - Web Scraping

Rate me:
Please Sign up or sign in to vote.
4.79/5 (8 votes)
21 Jul 2011CPOL12 min read 47.3K   1.7K   56  
A HTTPWebRequest based library which abstracts how data is retrieved from web sources.
namespace HttpData.Client
{
	/// <summary>
    /// Represent the connection state.
	/// </summary>
	public enum HDPConnectionState
	{
		///<summary>
		/// Connection is borken.
		///</summary>
		Broken = 0,

		///<summary>
		/// Connection is closed.
		///</summary>
		Closed = 1,
		
        ///<summary>
        /// Connecting to the server.
        ///</summary>
        Connecting = 2,

		///<summary>
		/// Executing request.
		///</summary>
		Executing = 3,


		///<summary>
		/// Retrieve response data.
		///</summary>
		Fetching = 4,
        
		///<summary>
		/// Connection is opened.
		///</summary>
		Open = 5
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Cyprus Cyprus
I am a senior software engineer with over 8 years experience. Have worked for different international software companies using different technologies and programming languages like: C/C++, lotus script, lotus API, C#, ASP.NET, WCF, MS-SQL, Oracle, Domino Server, JavaScript.

Comments and Discussions