diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 28167466..4bf2a135 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -475,6 +475,28 @@ namespace WebSocketSharp return nameAndValue.GetValue (separator, false); } + /// + /// Gets the value from the specified string that contains a pair of + /// name and value separated by a character. + /// + /// + /// + /// A that represents the value. + /// + /// + /// if the value is not present. + /// + /// + /// + /// A that contains a pair of name and value. + /// + /// + /// A used to separate name and value. + /// + /// + /// A : true if unquotes the value; otherwise, + /// false. + /// internal static string GetValue ( this string nameAndValue, char separator, bool unquote )