mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-30 22:26:42 +00:00
15 lines
249 B
Go
15 lines
249 B
Go
//go:build js
|
|
|
|
package ws
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/coder/websocket"
|
|
)
|
|
|
|
func createDialOptions(_ string, _ *net.Conn) *websocket.DialOptions {
|
|
// WASM version doesn't support HTTPClient or custom TLS config.
|
|
return &websocket.DialOptions{}
|
|
}
|