Files
UriBuilder.Fluent/Readme.md
Tommy Parnell 0a2e89f97b init 2
2016-11-08 13:38:36 -05:00

494 B

FluentUriBuilder

This lets you do things like


new UriBuilder()
         .WithParameter("awesome", "yodawg")
         .WithParameter("fun", ["cool", "yay"])
         .WithHost("awesome.com")
         .WithPathSegment("seg")
         .UseHttps()
         .ToString()

result: https://awesome.com/seg?awesome=yodawg&fun=cool,yay

or


new UriBuilder("https://awesome.com/yo)
    .WithParameter("id", "5")
    .ToString();

result: https://awesome.com/yo?id=5