mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-11 00:08:46 +02:00
「🏗️」 wip: reformated request include folder
This commit is contained in:
34
includes/server/AResource.hpp
Normal file
34
includes/server/AResource.hpp
Normal file
@ -0,0 +1,34 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Resource.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/29 14:20:09 by mmoussou #+# #+# */
|
||||
/* Updated: 2025/04/29 15:44:50 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <poll.h>
|
||||
|
||||
namespace webserv {
|
||||
namespace server {
|
||||
|
||||
class AClientResource {
|
||||
public:
|
||||
virtual ~AClientResource() {}
|
||||
|
||||
void addFileDescriptor(struct pollfd fd);
|
||||
struct pollfd getFileDescriptor();
|
||||
|
||||
private:
|
||||
struct pollfd _fd;
|
||||
|
||||
};
|
||||
|
||||
} // -namepsace server
|
||||
} // -namespace webserv
|
Reference in New Issue
Block a user