FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
esp32_https_server/src/HTTPURLEncodedBodyParser.hpp at master · hackpgh/esp32_https_server · GitHub
hackpgh
esp32_https_server
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
esp32_https_server
/
src
/
HTTPURLEncodedBodyParser.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (27 loc) · 778 Bytes
Breadcrumbs
esp32_https_server
/
src
/
HTTPURLEncodedBodyParser.hpp
Copy path
File metadata and controls
32 lines (27 loc) · 778 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
ifndef
SRC_HTTPURLENCODEDBODYPARSER_HPP_
#
define
SRC_HTTPURLENCODEDBODYPARSER_HPP_
#
include
<
Arduino.h
>
#
include
"
HTTPBodyParser.hpp
"
namespace
httpsserver
{
class
HTTPURLEncodedBodyParser
:
public
HTTPBodyParser
{
public:
//
From HTTPBodyParser
HTTPURLEncodedBodyParser
(HTTPRequest * req);
~HTTPURLEncodedBodyParser
();
virtual
bool
nextField
();
virtual
std::string
getFieldName
();
virtual
std::string
getFieldFilename
();
virtual
std::string
getFieldMimeType
();
virtual
bool
endOfField
();
virtual
size_t
read
(byte* buffer,
size_t
bufferSize);
protected:
char
*bodyBuffer;
char
*bodyPtr;
size_t
bodyLength;
std::string fieldName;
std::string fieldBuffer;
const
char
*fieldPtr;
size_t
fieldRemainingLength;
};
}
//
namespace httpserver
#
endif
Back
|
FazBrowse Home
|
New Git URL