Abstract TLS client for more generic-purposed use.

This commit is contained in:
2022-10-28 00:33:02 +08:00
parent 92e5ed1f9c
commit d9d4eb236e
5 changed files with 12 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ namespace Cryville.Common.Network {
return string.Format("<{0} {1} {2}>", HttpVersion, StatusCode, ReasonPhase);
}
internal static bool ParseHeader(BinaryReader reader, Dictionary<string,string> headers) {
internal static bool ParseHeader(BinaryReader reader, Dictionary<string, string> headers) {
// TODO Multiline header
var header = ReadLine(reader);
if (header == "") return false;