socket.io-client-dart icon indicating copy to clipboard operation
socket.io-client-dart copied to clipboard

how use ssl two way encipherment with https

Open lmr520 opened this issue 5 years ago • 3 comments

lmr520 avatar Aug 26 '20 02:08 lmr520

FYI: https://github.com/rikulo/socket.io-client-dart#cannot-connect-https-server-or-self-signed-certificate-server Maybe you could put the client certificate in that SecurityContext before invoking super.createHttpClient(context).

jumperchen avatar Aug 26 '20 09:08 jumperchen

that's mean the App all client use same certificate?why not support setting for socekt like for dio http

lmr520 avatar Aug 26 '20 09:08 lmr520

The Http client only works for Flutter and DartVM, but this library supports Browser client as well.

jumperchen avatar Aug 26 '20 10:08 jumperchen