Versions in this module Expand all Collapse all v0 v0.0.9 Oct 16, 2022 Changes in this version + type Conn interface + Close func() error + Read func() ([]byte, error) + ReadJSON func(v any) error + ReadString func() (string, error) + State func() ws.State + Write func(p []byte) error + WriteJSON func(v any) error + WriteString func(p string) error + func Dial(ctx context.Context, urlStr string) (conn Conn, err error) + func UpgradeHTTP(w http.ResponseWriter, r *http.Request) (conn Conn, err error)