faye protocol always send and ACK for published messages.

remove OnPublishResponse and make publish a blocking function until we receive ACK from server
This commit is contained in:
Marcelo Pires
2018-09-24 16:48:38 +02:00
parent 33a61d6d27
commit 6e0272acb9
6 changed files with 63 additions and 77 deletions

View File

@ -11,6 +11,7 @@ type Options struct {
Headers http.Header
Cookies http.CookieJar
MaxRetries int
RetryInterval time.Duration
DialDeadline time.Duration
ReadDeadline time.Duration