How to use wss and ignore tls verify in go-libp2p

How to use wss and ignore tls verify in go-libp2p
Is there any example code

I don’t there is is any example of this. Typically users of web sockets just use Noise instead of TLS.

I dont believe noise would be an option when doing browser-to-server since the browser would want wss when using it behind https (assuming this is the case for @SuperXiaoxiong).

If its server-to-server, I believe noise could then be the best option and just listen over ws, but never truly found a use-case myself for server-to-server with web sockets (though curious on such use-cases :slight_smile:)

1 Like

wss * http-proxy

I feel like this is okay

1 Like