Skip to content

bounav/http-params

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

http-param

Convienience class wrapping access to an HTTP friendly System.Collections.Specialized.NameValueCollection with a fluent interface.

build status

Usage:

var parameters = new HttpParams().Add("key", "value")
                                 .Add("otherKey", "otherValue")

var url = "http://domain.com/controller/action?" + parameters.ToString();

Since the HttpParams wraps System.Collections.Specialized.NameValueCollection the values are automatically URL encoded when ToString() is called..

To install HTTP Params Utility, run the following command in the Package Manager Console

PM> Install-Package HttpParamsUtility

About

.NET HTTP Parameter helper class

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages