2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2020-03-25 08:52:15 +03:00
parent 8bd9b3282c
commit 836a1fdeae
23 changed files with 466 additions and 216 deletions

View File

@ -100,18 +100,7 @@ namespace Esyur.Net.HTTP
get;
set;
}
public enum ResponseCodes : int
{
HTTP_OK = 200,
HTTP_NOTFOUND = 404,
HTTP_SERVERERROR = 500,
HTTP_MOVED = 301,
HTTP_NOTMODIFIED = 304,
HTTP_REDIRECT = 307
}
public HTTPSession CreateSession(string id, int timeout)
{
@ -322,9 +311,7 @@ namespace Esyur.Net.HTTP
// else
listener = new TCPSocket(new IPEndPoint(ipAdd, Port));
Start(listener,
Timeout,
Clock);
Start(listener);
}
else if (trigger == ResourceTrigger.Terminate)
{