add TLS to Transport Options
This commit is contained in:
parent
12edfd7856
commit
11b176dcbc
@ -1,6 +1,7 @@
|
|||||||
package transport
|
package transport
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"crypto/tls"
|
||||||
"github.com/thesyncim/faye/message"
|
"github.com/thesyncim/faye/message"
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
@ -10,6 +11,7 @@ import (
|
|||||||
type Options struct {
|
type Options struct {
|
||||||
Headers http.Header
|
Headers http.Header
|
||||||
Cookies http.CookieJar
|
Cookies http.CookieJar
|
||||||
|
TLS *tls.Config
|
||||||
|
|
||||||
MaxRetries int
|
MaxRetries int
|
||||||
RetryInterval time.Duration
|
RetryInterval time.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user