[Modify] Remove it
This commit is contained in:
parent
bbc0bd486c
commit
03f10fff42
@ -1976,23 +1976,6 @@ namespace WebSocketSharp
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// URL-decodes the specified <see cref="string"/>.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>
|
|
||||||
/// A <see cref="string"/> that receives the decoded string or
|
|
||||||
/// <paramref name="value"/> if it is <see langword="null"/> or empty.
|
|
||||||
/// </returns>
|
|
||||||
/// <param name="value">
|
|
||||||
/// A <see cref="string"/> to decode.
|
|
||||||
/// </param>
|
|
||||||
public static string UrlDecode (this string value)
|
|
||||||
{
|
|
||||||
return value != null && value.Length > 0
|
|
||||||
? HttpUtility.UrlDecode (value)
|
|
||||||
: value;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Writes and sends the specified <paramref name="content"/> data with the specified
|
/// Writes and sends the specified <paramref name="content"/> data with the specified
|
||||||
/// <see cref="HttpListenerResponse"/>.
|
/// <see cref="HttpListenerResponse"/>.
|
||||||
|
Loading…
Reference in New Issue
Block a user