Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
d6b383f8
Unverified
Commit
d6b383f8
authored
Nov 02, 2020
by
Me No Dev
Committed by
GitHub
Nov 02, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4429 from Bmooij/feature/Add_flash_helper_constructor_to_Uri
Add flash helper constructor to Uri
parents
cadbad88
ae240a39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
libraries/WebServer/examples/PathArgServer/PathArgServer.ino
libraries/WebServer/examples/PathArgServer/PathArgServer.ino
+1
-1
libraries/WebServer/src/Uri.h
libraries/WebServer/src/Uri.h
+1
-0
No files found.
libraries/WebServer/examples/PathArgServer/PathArgServer.ino
View file @
d6b383f8
...
...
@@ -32,7 +32,7 @@ void setup(void) {
Serial
.
println
(
"MDNS responder started"
);
}
server
.
on
(
"/"
,
[]()
{
server
.
on
(
F
(
"/"
)
,
[]()
{
server
.
send
(
200
,
"text/plain"
,
"hello from esp32!"
);
});
...
...
libraries/WebServer/src/Uri.h
View file @
d6b383f8
...
...
@@ -12,6 +12,7 @@ class Uri {
public:
Uri
(
const
char
*
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
String
&
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
__FlashStringHelper
*
uri
)
:
_uri
(
String
(
uri
))
{}
virtual
~
Uri
()
{}
virtual
Uri
*
clone
()
const
{
...
...
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