good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit e2d44e32 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Document why NetConn is included in the library.

parent 4d72b518
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,11 @@ import (
// NetConn converts a *websocket.Conn into a net.Conn.
//
// It's for tunneling arbitrary protocols over WebSockets.
// Few users of the library will need this but it's tricky to implement
// correctly and so provided in the library.
// See https://github.com/nhooyr/websocket/issues/100.
//
// Every Write to the net.Conn will correspond to a binary message
// write on *webscoket.Conn.
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment