How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own by@smpnjn

How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own

tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

A lot of the work we do with Javascript involves sending information back and forth from servers. You are probably familiar with the concept of APIs, which send data to servers or websites in a particular format, to get a specific response back. These are known as REST APIs. Although useful, they are not very good at constant streams of data. If you try to do something real-time with REST APIs, you're going to have a bad time. Fortunately, if we want a real-time connection with a user, we have an alternative, known as WebSockets.

Company Mentioned

Mention Thumbnail
featured image - How to Make a WebSocket Server With JavaScript: I Like My Servers Like I Like My Coffee, My Own
Johnny Simpson HackerNoon profile picture

@smpnjn

Johnny Simpson

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa