Class UrlEncodedDataParser
Parses URL queries or URL-encoded HTML forms.
Inherited Members
Namespace: EmbedIO.Utilities
Syntax
public static class UrlEncodedDataParser
Methods
Parse(String, Boolean, Boolean)
Parses a URL query or URL-encoded HTML form.
Unlike a[0]=1&a[1]=2 will yield the same result as a=1&a=2,
i.e. a a) associated with
two values (1 and 2).
Declaration
public static NameValueCollection Parse(string source, bool groupFlags, bool mutableResult = true)
Parameters
| Type | Name | Description |
|---|---|---|
| String | source | The string to parse. |
| Boolean | groupFlags | If this parameter is true,
tokens not followed by an equal sign (e.g. If this parameter is false, tokens not followed by an equal sign
(e.g. |
| Boolean | mutableResult | true (the default) to return a mutable (non-read-only) collection; false to return a read-only collection. |
Returns
| Type | Description |
|---|---|
| NameValueCollection | A |