diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2019-12-12 12:17:18 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | 076e15bb299dbcc1f8cc0d6f260c26f39d81f983 (patch) | |
tree | 368a8b2a91442cd63771937f79632b8f6ff459b1 /src/HTTPParser.py | |
parent | 29fe301ec82a657ee889411ad032af9909ceb6a4 (diff) |
Modify Client state to use enum
During our connections, we are using states to control the Client Socket. We
defined using global variables. In case that we modify this global variable,
we need to change it in serveral parts of the code.
Using enums and declaring a new class, we can redefine the values or create new
states without changing the same code in differents python files.
Diffstat (limited to 'src/HTTPParser.py')
0 files changed, 0 insertions, 0 deletions