add TLS to Transport Options

This commit is contained in:
Marcelo Pires 2018-09-24 17:14:38 +02:00
parent 12edfd7856
commit 11b176dcbc

View File

@ -1,6 +1,7 @@
package transport
import (
"crypto/tls"
"github.com/thesyncim/faye/message"
"net/http"
"time"
@ -10,6 +11,7 @@ import (
type Options struct {
Headers http.Header
Cookies http.CookieJar
TLS *tls.Config
MaxRetries int
RetryInterval time.Duration