SecureBlackbox Lite 2020 iOS Edition

Questions / Feedback?

keepAlivePolicy (property)

Defines the keep-alive handling policy.

Syntax

@property (nonatomic,readwrite,assign,getter=keepAlivePolicy,setter=setKeepAlivePolicy:) int keepAlivePolicy;
- (int)keepAlivePolicy;
- (void)setKeepAlivePolicy:(int)newKeepAlivePolicy;

/* Possible Values */
CKAP_STANDARD_DEFINED(0),
CKAP_PREFER_KEEP_ALIVE(1),
CKAP_RELY_ON_SERVER(2),
CKAP_KEEP_ALIVES_DISABLED(3)
public var keepAlivePolicy: RestclientKeepAlivePolicies {
  get {...}
set {...} }
public enum RestclientKeepAlivePolicies : Int32 { case ckapStandardDefined = 0 case ckapPreferKeepAlive = 1 case ckapRelyOnServer = 2 case ckapKeepAlivesDisabled = 3 }

Default Value

0

Remarks

Use this property to tune-up the keep-alive mechanism as per the needs of your application.

ckapStandardDefined0Follow the standard
ckapPreferKeepAlive1Always request a keep-alive connection
ckapRelyOnServer2Not include the "Connection" header, allowing the server to choose the keep-alive mode
ckapKeepAlivesDisabled3Disable keep-alives by including the "Connection: Close" header

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 iOS Edition - Version 20.0 [Build 8166]