Kofax Mobile SDK API Reference
Instance Methods | Properties | List of all members
KFXRTTIServerConnection Class Reference

This class helps in making the connection to the RTTI Server specified in the URL. More...

#import <KFXRTTIServerConnection.h>

Inheritance diagram for KFXRTTIServerConnection:
<KFXServerConnectionProtocol>

Instance Methods

(instancetype) - initWithURL:
 Constructor for the connection. More...
 
- Instance Methods inherited from <KFXServerConnectionProtocol>
(void) - getRequest:images:completion:
 Get the necessary server request. More...
 
(void) - makeConnection::
 Connect to the server. More...
 
(void) - cancelConnection:
 Cancel connection to the server. More...
 

Properties

NSTimeInterval requestTimeout
 Set request timeout. More...
 
- Properties inherited from <KFXServerConnectionProtocol>
id< kfxKUTCertificateValidatorDelegatecertificateValidatorDelegate
 Certificate validator delegate. More...
 

Detailed Description

This class helps in making the connection to the RTTI Server specified in the URL.

This class is responsible for constructing a multi-part request necessary to perform extraction. It then makes a connection to the Server using the request formed earlier and returns the results.

Method Documentation

- (instancetype) initWithURL: (NSURL *)  serverURL

Constructor for the connection.

The constructor allows to specify the required URL on which the extraction can be performed.

Parameters
serverURLa valid RTTI server url

Property Documentation

- (NSTimeInterval) requestTimeout
readwritenonatomicassign

Set request timeout.

This method allows to customize request timeout for HTTP requests.

Changing the timeout value will not affect the current session, it will take effect during the next session.

Default value is 20 seconds.


The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.