cleanup files

This commit is contained in:
Sem van der Hoeven
2020-09-25 15:56:26 +02:00
parent aa5f58e752
commit 13d99eb107
4 changed files with 33 additions and 75 deletions

View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
using System.Threading;
@@ -7,12 +6,14 @@ using System.Threading;
namespace RH_Engine
{
public delegate void OnResponse(string response);
class ServerResponseReader
{
public OnResponse callback
{
get;set;
get; set;
}
public NetworkStream Stream { get; }
public ServerResponseReader(NetworkStream stream)
@@ -73,4 +74,4 @@ namespace RH_Engine
return Encoding.UTF8.GetString(buffer, 0, totalRead);
}
}
}
}