[Modify] Polish it
This commit is contained in:
parent
97581e57a4
commit
0a06117e04
@ -1972,7 +1972,9 @@ namespace WebSocketSharp
|
|||||||
/// </param>
|
/// </param>
|
||||||
public static string UrlEncode (this string value)
|
public static string UrlEncode (this string value)
|
||||||
{
|
{
|
||||||
return value != null && value.Length > 0 ? HttpUtility.UrlEncode (value) : value;
|
return value != null && value.Length > 0
|
||||||
|
? HttpUtility.UrlEncode (value)
|
||||||
|
: value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user