We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The HTTP Server example in README says this: AsyncHttpServer mServer = new AsyncHttpServer(5000);
AsyncHttpServer mServer = new AsyncHttpServer(5000);
However, there is no constructor for AsyncHttpServer that takes a port as constructor. The example should read:
AsyncHttpServer
AsyncHttpServer mServer = new AsyncHttpServer(); mServer.get("/", new HttpServerRequestCallback() { @Override public void onRequest(AsyncHttpServerRequest request, AsyncHttpServerResponse response) { response.send("Hello!!!"); } }); mServer.listen(5000);
The text was updated successfully, but these errors were encountered:
c0778d2 fixed
Sorry, something went wrong.
No branches or pull requests
The HTTP Server example in README says this:
AsyncHttpServer mServer = new AsyncHttpServer(5000);
However, there is no constructor for
AsyncHttpServer
that takes a port as constructor. The example should read:The text was updated successfully, but these errors were encountered: