ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPBodyParser.hpp Source File

1 #ifndef SRC_HTTPBODYPARSER_HPP_

2 #define SRC_HTTPBODYPARSER_HPP_

3 

4 #include <Arduino.h>

5 #include <string>

6 #include "HTTPRequest.hpp"

7 

9 

21 public:

22  const size_t unknownLength = 0x7ffffffe;

23 

26 

35 

38 

41 

51 

55  virtual size_t read(byte* buffer, size_t bufferSize) = 0;

56 

59 

60 

61 protected:

64 };

65 

66 }

67 

68 #endif

virtual bool nextField()=0

Represents the request stream for an HTTP request.

Definition: HTTPRequest.hpp:22

HTTPRequest * _request

Definition: HTTPBodyParser.hpp:63

virtual size_t read(byte *buffer, size_t bufferSize)=0

Definition: HTTPBodyParser.hpp:20

virtual std::string getFieldFilename()=0

virtual std::string getFieldName()=0

virtual bool endOfField()=0

virtual std::string getFieldMimeType()=0

Definition: ConnectionContext.cpp:3