- A WebSocket is a bi-directional, message-based data transport that can be used in the browser.
- It is a very simple protocol, basically a thin wrapper over TCP. Can be implemented in one day.
- There is not much overhead compared to other protocols, the message framing is very small.
The WebSocket protocol is described by RFC 6455.
Citation
If you find this work useful, please cite it as:
@article{yaltirakli,
title = "WebSocket",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2024",
url = "https://www.gkbrk.com/websocket"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation Gokberk Yaltirakli, "WebSocket", April, 2024. [Online]. Available: https://www.gkbrk.com/websocket. [Accessed Apr. 22, 2024].
APA Style Yaltirakli, G. (2024, April 22). WebSocket. https://www.gkbrk.com/websocket
Bluebook Style Gokberk Yaltirakli, WebSocket, GKBRK.COM (Apr. 22, 2024), https://www.gkbrk.com/websocket