package
0.0.0-20240919231415-a72ae959521b
Repository: https://github.com/petrzlen/vocode-golang.git
Documentation: pkg.go.dev

# Functions

NewWebsocketHandlerFunc takes the raw http reader / writer, and abstracts it into WebsocketMessageHandler which works at the chan []byte message level.

# Interfaces

WebsocketMessageHandler usage: * Read from GetReader chan until closed (which means the other party closed it) * Write into GetWriter chan until you want - if you close it than the websocket will be closed gracefully.