TwilioSyncClientProperties Class Reference
Inherits from | NSObject |
---|---|
Declared in | TWSSyncClient.h |
region
The region of Sync to connect to, defaults to ‘us1’. Instanaces exist in specific regions, so this should only be changed if needed.
@property (nonatomic, copy, nonnull) NSString *region
Discussion
The region of Sync to connect to, defaults to ‘us1’. Instanaces exist in specific regions, so this should only be changed if needed.
Declared In
TWSSyncClient.h
deferCertificateTrustToPlatform
Defer certificate trust decisions to the OS, overriding the default of certificate pinning for Twilio back-end connections.
@property (nonatomic, readwrite) BOOL deferCertificateTrustToPlatform
Discussion
Defer certificate trust decisions to the OS, overriding the default of certificate pinning for Twilio back-end connections.
Twilio client SDKs utilize certificate pinning to prevent man-in-the-middle attacks against your connections to our services. Customers in certain very specific environments may need to opt-out of this if custom certificate authorities must be allowed to intentionally intercept communications for security or policy reasons.
Setting this property to true
for a Sync Client instance will defer to iOS to
establish whether or not a given connection is providing valid and trusted TLS certificates.
Keeping this property at its default value of false
allows the Twilio client SDK
to determine trust when communicating with our servers.
The default value is false
.
Declared In
TWSSyncClient.h
useProxy
If useProxy flag is true
TwilioSyncClient will try to read and apply system proxy settings.
If this flag is false
all proxy settings will be ignored and direct connection will be used.
@property (nonatomic, readwrite) BOOL useProxy
Discussion
If useProxy flag is true
TwilioSyncClient will try to read and apply system proxy settings.
If this flag is false
all proxy settings will be ignored and direct connection will be used.
The default value is false
.
Declared In
TWSSyncClient.h
dispatchQueue
Queue all completions and events would fire from. If not set main queue would be used.
@property (nonatomic, readwrite, nullable) dispatch_queue_t dispatchQueue
Discussion
Queue all completions and events would fire from. If not set main queue would be used.
Declared In
TWSSyncClient.h