Hands-On System Programming with Go by Alex Guerrieri

Hands-On System Programming with Go by Alex Guerrieri

Author:Alex Guerrieri
Language: eng
Format: epub, pdf
Tags: COM000000 - COMPUTERS / General, COM082000 - COMPUTERS / Bioinformatics, COM006000 - COMPUTERS / Buyer
Publisher: Packt Publishing
Published: 2019-07-05T05:38:30+00:00


WebSockets protocol

The HTTP protocol achieves only one-way communication, while the WebSocket protocol is a full duplex communication between client and server. The Go experimental library offers support for WebSocket with the golang.org/x/net/websocket package, and Gorilla has another implementation with its own github.com/gorilla/websocket.

The second one is far more complete, and it's used in the github.com/olahol/melody package, which implements a framework for an easy WebSocket communication. Each package offers different working examples on the WebSocket server and client pair.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.