tinyhttp
Loading...
Searching...
No Matches
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
tinyhttp::ExtensionESPTask Class Reference

Extension which which supports RTOS Tasks. We start a task for the HttpServer so that we do not need to call doLoop() in the loop processing of the sketch any more. More...

#include <ExtensionESPTask.h>

Inheritance diagram for tinyhttp::ExtensionESPTask:
tinyhttp::Extension

Public Member Functions

 ExtensionESPTask (int stackSize=50000, int priority=3, int core=1, int delayAfterProcess=100)
 
int getDelay ()
 
virtual void open (HttpServer *server)
 
HttpServerserver ()
 
void stop ()
 

Static Protected Member Functions

static void task (void *info)
 

Protected Attributes

int core_no
 
int delay_after_process
 
HttpServerp_server
 
int stack_size
 
int task_priority
 
TaskHandle_t xHandle = 0
 

Additional Inherited Members

- Protected Member Functions inherited from tinyhttp::Extension
virtual void doLoop ()
 

Detailed Description

Extension which which supports RTOS Tasks. We start a task for the HttpServer so that we do not need to call doLoop() in the loop processing of the sketch any more.

Member Function Documentation

◆ open()

virtual void tinyhttp::ExtensionESPTask::open ( HttpServer server)
inlinevirtual

Reimplemented from tinyhttp::Extension.


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