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
ae240a39
Commit
ae240a39
authored
Oct 19, 2020
by
Bob Mooij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flash helper constructor to Uri
parent
1287c529
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 @
ae240a39
...
@@ -32,7 +32,7 @@ void setup(void) {
...
@@ -32,7 +32,7 @@ void setup(void) {
Serial
.
println
(
"MDNS responder started"
);
Serial
.
println
(
"MDNS responder started"
);
}
}
server
.
on
(
"/"
,
[]()
{
server
.
on
(
F
(
"/"
)
,
[]()
{
server
.
send
(
200
,
"text/plain"
,
"hello from esp32!"
);
server
.
send
(
200
,
"text/plain"
,
"hello from esp32!"
);
});
});
...
...
libraries/WebServer/src/Uri.h
View file @
ae240a39
...
@@ -12,6 +12,7 @@ class Uri {
...
@@ -12,6 +12,7 @@ class Uri {
public:
public:
Uri
(
const
char
*
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
char
*
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
String
&
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
String
&
uri
)
:
_uri
(
uri
)
{}
Uri
(
const
__FlashStringHelper
*
uri
)
:
_uri
(
String
(
uri
))
{}
virtual
~
Uri
()
{}
virtual
~
Uri
()
{}
virtual
Uri
*
clone
()
const
{
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