mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-14 12:24:56 +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(
|
writer := wsutil.NewWriter(
|
||||||
conn,
|
conn,
|
||||||
state,
|
state,
|
||||||
ws.OpBinary,
|
ws.OpText,
|
||||||
)
|
)
|
||||||
writer.SetExtensions(&msgState)
|
writer.SetExtensions(&msgState)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user