Skip to content

x/net/websocket: setting BinaryFrame #7350

@gopherbot

Description

@gopherbot

by errordeveloper:

Default PayloadType is TextFrame and there seem to be no way of setting it to
BinaryFrame.

https://code.google.com/p/go/source/browse/websocket/hybi.go?repo=net#346

I'm not too sure what the fix would be, but in my case modifying that line 346 worked...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions