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

A task that will watch web socket inputs. More...

Inheritance diagram for WebSocketReader:
Task

Public Member Functions

void end ()
 
- 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

A task that will watch web socket inputs.

When a WebSocket is created it is created by the client requesting an HTTP protocol changed to WebSockets. After the original Socket has been flagged as being a WebSocket, we must now start watching that socket for incoming asynchronous events. We spawn a task to do this. This is the implementation of that task.


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