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:
1 parent
33a61d6d27
commit
6e0272acb9
6 files changed
+63
-77
No files matched your search
@@ -11,6 +11,7 @@ type Options struct {
|
||||
Headers http.Header
|
||||
Cookies http.CookieJar
|
||||
|
||||
MaxRetries int
|
||||
RetryInterval time.Duration
|
||||
DialDeadline time.Duration
|
||||
ReadDeadline time.Duration
|
||||
|
||||
Reference in new issue
Block a user