From 11b176dcbcb90fa9875b9eebc0a6e56fd8da98ba Mon Sep 17 00:00:00 2001 From: Marcelo Pires Date: Mon, 24 Sep 2018 17:14:38 +0200 Subject: [PATCH] add TLS to Transport Options --- transport/transport.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transport/transport.go b/transport/transport.go index e5b21ea..d753dec 100644 --- a/transport/transport.go +++ b/transport/transport.go @@ -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