You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests in this file have been order dependent. I broke those dependencies by introducing
few additional lines of code in each an every one. And the initHistoryOpts now requires passing pn, so maybe whoever decide to write new tests will realize that it might be nice
to create new pubnub and new config instead of reusing them across every test.
Co-authored-by: Mateusz Dahlke <39696234+Xavrax@users.noreply.github.com>
SuppressLeaveEventsbool// When true the SDK doesn't send out the leave requests.
44
-
DisablePNOtherProcessingbool// PNOther processing looks for pn_other in the JSON on the recevied message
45
-
UseHTTP2bool// HTTP2 Flag
46
-
MessageQueueOverflowCountint// When the limit is exceeded by the number of messages received in a single subscribe request, a status event PNRequestMessageCountExceededCategory is fired.
47
-
MaxIdleConnsPerHostint// Used to set the value of HTTP Transport's MaxIdleConnsPerHost.
48
-
MaxWorkersint// Number of max workers for Publish and Grant requests
49
-
UsePAMV3bool// Use PAM version 2, Objects requets would still use PAM v3
50
-
StoreTokensOnGrantbool// Will store grant v3 tokens in token manager for further use.
51
-
FileMessagePublishRetryLimitint// The number of tries made in case of Publish File Message failure.
52
-
UseRandomInitializationVectorbool// When true the IV will be random for all requests and not just file upload. When false the IV will be hardcoded for all requests except File Upload
30
+
UUIDstring
31
+
//DEPRECATED: please use CryptoModule
32
+
CipherKeystring// If CipherKey is passed, all communications to/from PubNub will be encrypted.
33
+
Securebool// True to use TLS
34
+
ConnectTimeoutint// net.Dialer.Timeout
35
+
NonSubscribeRequestTimeoutint// http.Client.Timeout for non-subscribe requests
36
+
SubscribeRequestTimeoutint// http.Client.Timeout for subscribe requests only
37
+
FileUploadRequestTimeoutint// http.Client.Timeout File Upload Request only
38
+
HeartbeatIntervalint// The frequency of the pings to the server to state that the client is active
39
+
PresenceTimeoutint// The time after which the server will send a timeout for the client
40
+
MaximumReconnectionRetriesint// The config sets how many times to retry to reconnect before giving up.
41
+
MaximumLatencyDataAgeint// Max time to store the latency data for telemetry
42
+
FilterExpressionstring// Feature to subscribe with a custom filter expression.
SuppressLeaveEventsbool// When true the SDK doesn't send out the leave requests.
46
+
DisablePNOtherProcessingbool// PNOther processing looks for pn_other in the JSON on the recevied message
47
+
UseHTTP2bool// HTTP2 Flag
48
+
MessageQueueOverflowCountint// When the limit is exceeded by the number of messages received in a single subscribe request, a status event PNRequestMessageCountExceededCategory is fired.
49
+
MaxIdleConnsPerHostint// Used to set the value of HTTP Transport's MaxIdleConnsPerHost.
50
+
MaxWorkersint// Number of max workers for Publish and Grant requests
51
+
UsePAMV3bool// Use PAM version 2, Objects requets would still use PAM v3
52
+
StoreTokensOnGrantbool// Will store grant v3 tokens in token manager for further use.
53
+
FileMessagePublishRetryLimitint// The number of tries made in case of Publish File Message failure.
54
+
//DEPRECATED: please use CryptoModule
55
+
UseRandomInitializationVectorbool// When true the IV will be random for all requests and not just file upload. When false the IV will be hardcoded for all requests except File Upload
56
+
CryptoModule crypto.CryptoModule// A cryptography module used for encryption and decryption
53
57
}
54
58
55
59
// NewDemoConfig initiates the config with demo keys, for tests only.
0 commit comments