mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-30 02:20:37 +02:00
websocket to send text, not binary.
This commit is contained in:
@ -88,7 +88,7 @@ func NewConnection(ctx context.Context, url string, requestHeader http.Header) (
|
||||
writer := wsutil.NewWriter(
|
||||
conn,
|
||||
state,
|
||||
ws.OpBinary,
|
||||
ws.OpText,
|
||||
)
|
||||
writer.SetExtensions(&msgState)
|
||||
|
||||
|
Reference in New Issue
Block a user