[Modify] Polish it

This commit is contained in:
sta 2018-03-07 18:03:53 +09:00
parent d5326400fa
commit 9752959853

View File

@ -899,8 +899,12 @@ namespace WebSocketSharp.Net
public override string ToString ()
{
var buff = new StringBuilder (64);
buff.AppendFormat ("{0} {1} HTTP/{2}\r\n", _httpMethod, _rawUrl, _protocolVersion);
buff.Append (_headers.ToString ());
buff
.AppendFormat (
"{0} {1} HTTP/{2}\r\n", _httpMethod, _rawUrl, _protocolVersion
)
.Append (_headers.ToString ());
return buff.ToString ();
}