Commit graph

2 commits

Author SHA1 Message Date
9155cb17ed Receive data from client
Allow handle client requests with HTTP body for custom functions.

- Rewrited "path" function to class;
- Simple check clien request of method allowed;
- Use "Enumirations" for handler types, HTTP methods;
2024-09-15 15:11:51 +03:00
f7d2a675fb Add handle & send data of user defined functions
Add
- handle GET request
- handle & send data of user defined functions
- project logotype to log when start server :)

Change
- move set log level to config file
- move Response class to file

Fix
- log message of small or long first request line

Template
- for URL redirection (http_addr -> new_http_addr)
2024-02-26 02:35:24 +03:00