C# Class Rolcore.Web.HttpUtils

Provides utility functions for HTTP.
Show file Open project: Rollins/Rolcore

Public Methods

Method Description
ReplaceQSValues ( string queryString, string replacementRules ) : string

Takes a QueryString a rewrites it according to the supplied replacement rules.

ReplaceQSValues ( string queryString, string replacementRules, char ruleSeperator ) : string

Takes a QueryString a rewrites it according to the supplied replacement rules.

Method Details

ReplaceQSValues() public static method

Takes a QueryString a rewrites it according to the supplied replacement rules.
public static ReplaceQSValues ( string queryString, string replacementRules ) : string
queryString string Name=Value collection in the form of a string.
replacementRules string Replacement rules used to rewrite the queryString.
return string

ReplaceQSValues() public static method

Takes a QueryString a rewrites it according to the supplied replacement rules.
public static ReplaceQSValues ( string queryString, string replacementRules, char ruleSeperator ) : string
queryString string Name=Value collection in the form of a string.
replacementRules string Replacement rules used to rewrite the queryString.
ruleSeperator char Character used to delimit name/value pairs within the string.
return string