My Project
 All Classes Functions Variables Pages
Public Member Functions | List of all members
HttpServerTask Class Reference

Be an HTTP server task. Here we define a Task that will be run when the HTTP server starts. It is this task that executes the majority of the passive work of the server. It listens for incoming connections and processes them when they arrive. More...

Inheritance diagram for HttpServerTask:
Task

Public Member Functions

 HttpServerTask (std::string name)
 
- Public Member Functions inherited from Task
 Task (std::string taskName="Task", uint16_t stackSize=10000, uint8_t priority=5)
 Create an instance of the task class. More...
 
void setStackSize (uint16_t stackSize)
 Set the stack size of the task. More...
 
void setPriority (uint8_t priority)
 Set the priority of the task. More...
 
void setName (std::string name)
 Set the name of the task. More...
 
void setCore (BaseType_t coreId)
 Set the core number the task has to be executed on. If the core number is not set, tskNO_AFFINITY will be used. More...
 
void start (void *taskData=nullptr)
 Start an instance of the task. More...
 
void stop ()
 Stop the task. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Task
static void delay (int ms)
 Suspend the task for the specified milliseconds. More...
 

Detailed Description

Be an HTTP server task. Here we define a Task that will be run when the HTTP server starts. It is this task that executes the majority of the passive work of the server. It listens for incoming connections and processes them when they arrive.


The documentation for this class was generated from the following file: