Skip to content

Commit 7b32e6a

Browse files
authored
Merge pull request esp8266#2534 from jabelone/patch-1
Corrected a typo and improved grammar
2 parents da4cab5 + bdc43a0 commit 7b32e6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/esp8266wifi/server-examples.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ title: ESP8266WiFi Server Class - Sketch Examples
77

88
## Server
99

10-
Setting up web a server on ESP8266 requires very title code and is surprisingly straightforward. This is thanks to functionality provided by versatile ESP8266WiFi library.
10+
Setting up web a server on ESP8266 requires very little code and is surprisingly straightforward. This is thanks to functionality provided by the versatile ESP8266WiFi library.
1111

12-
The purpose of this example will be to prepare a web page that can be opened in a web browser. This page should show current raw reading of ESP's analog input pin.
12+
The purpose of this example will be to prepare a web page that can be opened in a web browser. This page should show the current raw reading of ESP's analog input pin.
1313

1414

1515
## Table of Contents
@@ -69,7 +69,7 @@ Connection: close
6969
Refresh: 5
7070
7171
```
72-
In our example the content type is `text/html`, the connection will be closed after serving and the content should requested by client again every 5 seconds. The header is concluded with an empty line `\r\n`. This is to distinguish header from the content to follow.
72+
In our example the content type is `text/html`, the connection will be closed after serving and the content should be requested by the client again every 5 seconds. The header is concluded with an empty line `\r\n`. This is to distinguish header from the content to follow.
7373

7474
```
7575
<!DOCTYPE HTML>
@@ -222,7 +222,7 @@ Enter provided IP address in a web browser. You should see the page served by ES
222222
223223
![alt text](pictures/server-browser-output.png "Output from server in a web browser")
224224
225-
The page would be refreshed every 5 seconds. Each time this happens, you should see request from the client (your web browser) printed out on the serial monitor:
225+
The page would be refreshed every 5 seconds. Each time this happens, you should see a request from the client (your web browser) printed out on the serial monitor:
226226
227227
```
228228
[Client connected]
@@ -250,4 +250,4 @@ The above example shows that a web server on ESP8266 can be set up in almost no
250250
If you like to try another server example, check out [WiFiWebServer.ino](https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiWebServer/WiFiWebServer.ino), that provides functionality of toggling the GPIO pin on and off out of a web browser.
251251
252252
253-
For the list of functions provided to implement and manage servers, please refer to the [Server Class :arrow_right:](server-class.md) documentation.
253+
For the list of functions provided to implement and manage servers, please refer to the [Server Class :arrow_right:](server-class.md) documentation.

0 commit comments

Comments
 (0)