Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add ESP8266WebServerTemplate<ServerType>::enableCORS(bool _ec) like E…#7388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 5 commits intoesp8266:masterfromMjxkill:master
Jun 21, 2020
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
add ESP8266WebServerTemplate<ServerType>::enableCORS(bool _ec) like E…
…SP32 arduino plateform corrections
  • Loading branch information
michael committedJun 17, 2020
commit950745e29fac9efc49609e45bce07742c0f24036
4 changes: 2 additions & 2 deletionslibraries/ESP8266WebServer/src/ESP8266WebServer.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -99,7 +99,7 @@ class ESP8266WebServerTemplate
void serveStatic(const char* uri, fs::FS& fs, const char* path, const char* cache_header = NULL );
void onNotFound(THandlerFunction fn); //called when handler is not assigned
void onFileUpload(THandlerFunction fn); //handle file uploads
void enableCORS(bool_ec);
void enableCORS(boolenable);

const String& uri() const { return _currentUri; }
HTTPMethod method() const { return _currentMethod; }
Expand DownExpand Up@@ -246,7 +246,7 @@ class ESP8266WebServerTemplate
String _hostHeader;
bool _chunked;
bool _corsEnabled;

String _snonce; // Store noance and opaque for future comparison
String _sopaque;
String _srealm; // Store the Auth realm between Calls
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp