Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
esp32-http-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
esp32-http-server
Commits
baf849bf
Commit
baf849bf
authored
May 16, 2018
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'certificate_chain' into 'master'
Certificate chain See merge request
!1
parents
711bf969
24d7b83d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
354 additions
and
299 deletions
+354
-299
https_server.c
https_server.c
+336
-299
https_server.h
https_server.h
+18
-0
No files found.
https_server.c
View file @
baf849bf
This diff is collapsed.
Click to expand it.
https_server.h
View file @
baf849bf
...
...
@@ -81,6 +81,24 @@ typedef struct {
.task_priority = 8, \
}
const
static
char
index_html
[]
=
"<!DOCTYPE html>"
"<html>
\n
"
"<head>
\n
"
" <meta name=
\"
viewport
\"
content=
\"
width=device-width, initial-scale=1
\"
>
\n
"
" <style type=
\"
text/css
\"
>
\n
"
" html, body, iframe { margin: 0; padding: 0; height: 100%; }
\n
"
" iframe { display: block; width: 100%; border: none; }
\n
"
" </style>
\n
"
"<title>HELLO ESP32</title>
\n
"
"</head>
\n
"
"<body>
\n
"
"<h1>Hello World, from ESP32!</h1>
\n
"
"</body>
\n
"
"</html>
\n
"
;
const
static
char
response_OK
[]
=
"OK!
\n
"
;
/**
* @brief initialize HTTP server, start listening
* @param options pointer to http server options, can point to a temporary
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment