🏗️」 wip: started working towards implementing resources in client

This commit is contained in:
2025-05-23 18:30:33 +02:00
parent 0823ce2894
commit 41ca9eacd3
7 changed files with 82 additions and 21 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/29 14:20:09 by mmoussou #+# #+# */
/* Updated: 2025/05/13 18:27:46 by adjoly ### ########.fr */
/* Updated: 2025/05/23 18:27:06 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -18,7 +18,7 @@
namespace webserv {
namespace server {
enum clientResType { CGI, UP_FILE };
enum clientResType { CGI_IN, CGI, UP_FILE };
class AClientResource {
public:
@ -33,7 +33,7 @@ class AClientResource {
void setFileDescriptor(struct pollfd *fd) { _fd = fd; }
struct pollfd getFileDescriptor(void) const { return *_fd; }
virtual clientResType type(void) const ;
virtual clientResType type(void) const = 0;
int getId(void) const { return _res_id; }
protected: