Class YSKUniProxySession

The session object stores a server connection and provides it for the created requests.

The YSKUniProxySession class allows using one network connection for several components of the library. This means you don't have to spend time re-establishing a connection and making all requests within the same session. To do this, create a single object of the YSKUniProxySession class and pass it to the constructors of the components that you want to combine in a single session. If you only work with one component, you can use the constructor with the default session, and it will be created automatically inside the component with the necessary parameters.

Instance Methods

-init

Initializes an object of the YSKUniProxySession class with the default address.

-initWithURL:

Initializes an object of the YSKUniProxySession class with the specified server address.

Properties

url

Server address.

Method Detail

-init

- (instancetype)init

Initializes an object of the YSKUniProxySession class with the default address.

Returns:

An object of the YSKUniProxySession class.

-initWithURL:

- (instancetype)initWithURL:(NSURL *)url 

Initializes an object of the YSKUniProxySession class with the specified server address.

Parameters:
url

Server address.

Returns:

An object of the YSKUniProxySession class.

Property Detail

url

(copy, readonly) NSURL * url

Server address.