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 committed 2018-09-24 16:48:38 +02:00
1 parent 33a61d6d27
commit 6e0272acb9
6 files changed
+63 -77

No files matched your search

+1
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