SKProxySettings Class Reference

Inherits from NSObject
Declared in SKProxySettings.h

Overview

SKProxySettings is the model class for the proxy used by the framework for internet requests.

  type

The type of the proxy, regular or socks5.

@property (nonatomic, assign) SKProxyType type

Discussion

The type of the proxy, regular or socks5.

Declared In

SKProxySettings.h

  ip

The proxy IP.

@property (nonatomic, copy) NSString *ip

Discussion

The proxy IP.

Declared In

SKProxySettings.h

  port

The port of the proxy.

@property (nonatomic, assign) NSInteger port

Discussion

The port of the proxy.

Declared In

SKProxySettings.h

  mask

The mask of the server, only used in case of socks5 proxy.

@property (nonatomic, copy) NSString *mask

Discussion

The mask of the server, only used in case of socks5 proxy.

Declared In

SKProxySettings.h

  useAutenthication

If YES, a user and password have to be provided for the proxy. If set to NO, the user and password will not be taken into consideration. By default, is no.

@property (nonatomic, assign) BOOL useAutenthication

Discussion

If YES, a user and password have to be provided for the proxy. If set to NO, the user and password will not be taken into consideration. By default, is no.

Declared In

SKProxySettings.h

  user

The username for the proxy, if it is the case.

@property (nonatomic, copy) NSString *user

Discussion

The username for the proxy, if it is the case.

Declared In

SKProxySettings.h

  password

The password for the proxy, if it is the case.

@property (nonatomic, copy) NSString *password

Discussion

The password for the proxy, if it is the case.

Declared In

SKProxySettings.h

+ proxySettings

Creates a newly initialized SKProxySettings object.

+ (instancetype)proxySettings

Discussion

Creates a newly initialized SKProxySettings object.

Declared In

SKProxySettings.h