[Modify] Polish it
This commit is contained in:
parent
d5326400fa
commit
9752959853
@ -899,8 +899,12 @@ namespace WebSocketSharp.Net
|
|||||||
public override string ToString ()
|
public override string ToString ()
|
||||||
{
|
{
|
||||||
var buff = new StringBuilder (64);
|
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 ();
|
return buff.ToString ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user