FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
esp32_https_server/https/ConnectionContext.hpp at master · gmos/esp32_https_server · GitHub
gmos
esp32_https_server
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
esp32_https_server
/
https
/
ConnectionContext.hpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (26 loc) · 675 Bytes
Breadcrumbs
esp32_https_server
/
https
/
ConnectionContext.hpp
Copy path
File metadata and controls
35 lines (26 loc) · 675 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
33
34
35
/*
* ConnectionContext.hpp
*
* Created on: Dec 15, 2017
* Author: frank
*/
#
ifndef
HTTPS_CONNECTIONCONTEXT_HPP_
#
define
HTTPS_CONNECTIONCONTEXT_HPP_
#
include
<
Arduino.h
>
//
Required for SSL
#
include
"
openssl/ssl.h
"
#
undef
read
namespace
httpsserver
{
class
ConnectionContext
{
public:
ConnectionContext
();
virtual
~ConnectionContext
();
virtual
SSL
*
ssl
() = 0;
virtual
void
signalRequestError
() = 0;
virtual
void
signalClientClose
() = 0;
virtual
size_t
getCacheSize
() = 0;
virtual
size_t
readBuffer
(byte* buffer,
size_t
length) = 0;
virtual
size_t
pendingBufferSize
() = 0;
};
}
/*
namespace httpsserver
*/
#
endif
/*
HTTPS_CONNECTIONCONTEXT_HPP_
*/
Back
|
FazBrowse Home
|
New Git URL