Click here to Skip to main content
15,886,788 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.4K   1.7K   56  
A HTTPWebRequest based library which abstracts how data is retrieved from web sources.
namespace HttpData.Client
{
    /// <summary>
    /// Provide headers details used in HttpWebRequest operations.
    /// </summary>
    public class HDPConnectionHeader
    {
        #region Properties
        /// <summary>
        /// Name of Http header.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Value of Http header.
        /// </summary>
        public string Value { get; set; }
        #endregion

        #region .ctor
        /// <summary>
        /// Create a new HDPConnection object.
        /// </summary>
        public HDPConnectionHeader()
        {
        }

        /// <summary>
        /// Create a new HDPConnection object
        /// </summary>
        /// <param name="name">Name of Http header.</param>
        /// <param name="value">Value of Http header.</param>
        public HDPConnectionHeader(string name, string value)
        {
            Name = name;
            Value = value;
        }
        #endregion
    }
}

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