Skip to content

Commit 8ba2bc2

Browse files
committed
[Modify] Polish it
1 parent 2dfe7b6 commit 8ba2bc2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

websocket-sharp/HttpRequest.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ internal string RequestLine {
8989

9090
internal string MessageHeader {
9191
get {
92-
var buff = new StringBuilder (64);
93-
94-
buff.Append (RequestLine).Append (HeaderSection);
95-
96-
return buff.ToString ();
92+
return RequestLine + HeaderSection;
9793
}
9894
}
9995

0 commit comments

Comments
 (0)