Skip to content

Commit a138309

Browse files
committed
WebServer example: Added comments
1 parent fab4632 commit a138309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Ethernet/examples/WebServer/WebServer.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ void loop() {
6363
// send a standard http response header
6464
client.println("HTTP/1.1 200 OK");
6565
client.println("Content-Type: text/html");
66-
client.println("Connection: close");
67-
client.println("Refresh: 5");
66+
client.println("Connection: close"); // the connection will be closed after completion of the response
67+
client.println("Refresh: 5"); // refresh the page automatically every 5 sec
6868
client.println();
6969
client.println("<!DOCTYPE HTML>");
7070
client.println("<html>");

0 commit comments

Comments
 (0)