mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-06-25 09:33:36 +02:00
「🏗️」 wip: started working towards implementing resources in client
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user