Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4177514

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: fixing typos
1 parent f4d5575 commit 4177514

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/core-concepts/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"position": 2,
44
"link": {
55
"type": "generated-index",
6-
"description": "Learn core concepts of Deriv API websocket server and it's features"
6+
"description": "Learn core concepts of Deriv API websocket server and its features"
77
}
88
}

docs/core-concepts/websocket/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ socket.onerror = function (error) {
7979

8080
## Why do we need WebSockets and when should we avoid them?
8181

82-
WebSocket are an essential client-server communication tool. To benefit the most from their potential, it's important to understand how they can be helpful and when it's best to avoid using them. It’s explained extensively in the next section.
82+
WebSockets are an essential client-server communication tool. To benefit the most from their potential, it's important to understand how they can be helpful and when it's best to avoid using them. It’s explained extensively in the next section.
8383

84-
Use WebSocket When You Are:
84+
Use WebSockets in the following cases:
8585

8686
1. ‍When you're developing a real-time web application.
8787
The most customary use of WebSocket is in real-time application development wherein it assists in a continual display of data at the client end. As the back-end server sends back this data continuously, a WebSocket allows uninterrupted pushing or transmitting of this data in the already open connection. The use of WebSockets makes such data transmission quick and leverages the application's performance.
@@ -92,7 +92,7 @@ Use WebSocket When You Are:
9292

9393
Now that we've established where WebSockets should be used, let's see where it is best to avoid them. This will help you steer clear of unnecessary operational hassles.
9494

95-
WebSocket shouldnt be taken onboard when old data fetching is the need of the hour or need data only for one-time processing. In these cases, using HTTP protocols is a wise choice.
95+
WebSockets shouldn't be taken onboard when all that is needed is fetching old data or data that's to be processed only once. In these cases, using HTTP protocols is a wise choice.
9696

9797
## WebSocket vs HTTP
9898

docs/languages/javascript/project-setup/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ touch index.html index.css index.js
3434
We suggest using [Visual Studio Code](https://code.visualstudio.com/) with [Live Server Extension](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) enabled. This will help you a lot with implementations.
3535
:::
3636

37-
Now open the `index.html` file or use the [Live Server Extension](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)
37+
Now, open the `index.html` file or use the [Live Server Extension](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer).
3838

3939
Now, change the content of the files using the following approach:
4040

0 commit comments

Comments
 (0)