Skip to content

net.Conn is the wrong API for WebSockets #29

Closed
@nhooyr

Description

@nhooyr

golang.org/x/net/websockets has a similar API that is considered problematic.

See golang/go#18152 (comment)

the deeper problem with x/net/websocket is that it has the wrong API. It puts an io.Reader/Writer interface on top of what is fundamentally a message-based protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions