Create a new stream after StartTLS

This commit is contained in:
Wichert Akkerman
2019-10-25 15:22:01 +02:00
committed by Mickaël Rémond
parent 390f9b065e
commit 33446ad0ba
7 changed files with 55 additions and 26 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ func (t WebsocketTransport) startReader() {
}()
}
func (t WebsocketTransport) StartTLS() error {
return TLSNotSupported
func (t WebsocketTransport) StartTLS() (string, error) {
return "", ErrTLSNotSupported
}
func (t WebsocketTransport) DoesStartTLS() bool {