mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-05-30 01:29:20 +02:00
websocket to send text, not binary.
This commit is contained in:
parent
0c06788672
commit
fa00133825
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user