Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.0% on proxy.golang.org

proxy.golang.org : github.com/Mort4lis/websocket

Package websocket implements the WebSocket protocol defined in RFC 6455. The Conn type represents the WebSocket connection. if you are developing a server application you should use Upgrade function in your http handler to switching protocol to WebSocket. Otherwise, if you are interesting to use websocket package as a client you should invoke Dialer.Dial at first (or Dialer.DialContext). For example: Having Conn instance you can send and receive message due WebSocket protocol, calling Conn.WriteMessage and Conn.ReadMessage. Also you can use Conn.NextWriter and Conn.NextReader for fragmented sending and receiving.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21mort4lis/websocket
Keywords: github-actions, go, golang, websocket, ws
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/Mort4lis
Stars: 4 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 19 days ago

    Loading...
    Readme
    Loading...