Update README.md

This commit is contained in:
DevSnaith 2024-08-30 23:49:52 +03:00 committed by GitHub
parent eeccd7951b
commit 4ecad4e679
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,9 +38,9 @@ int server_port = 8080;
String body = "<b>Hello, World!</b>"; String body = "<b>Hello, World!</b>";
boolean contentTypeIsHTML = true; // false = text/plan boolean contentTypeIsHTML = true; // false = text/plan
SimpleResponse requestHandler = new SimpleResponse(body, contentTypeIsHTML); SimpleResponse response = new SimpleResponse(body, contentTypeIsHTML);
Lumiere server = new Lumiere(requestHandler); Lumiere server = new Lumiere(response);
server.bootServer(server_port); // start the server server.bootServer(server_port); // start the server
``` ```