Diffusion Apple API  6.6.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Properties | Instance Methods | List of all members
PTDiffusionHTTPProxyConfiguration Class Reference

Introduction

Connection details for an HTTP proxy to be tunneled through in order to reach the Diffusion server.

See Also
PTDiffusionSessionConfiguration
Since
6.0
Inheritance diagram for PTDiffusionHTTPProxyConfiguration:

Properties

NSString * host
 
UInt32 port
 
id< PTDiffusionHTTPAuthenticationauthentication
 

Instance Methods

(instancetype) - initWithHost:port:
 
(instancetype) - initWithHost:port:authentication:
 
(BOOL) - isEqualToHTTPProxyConfiguration:
 

Method Documentation

- (instancetype) initWithHost: (NSString *)  host
port: (UInt32)  port 

Returns a HTTP proxy authentication object initialized with the given host and port.

Parameters
hostThe host name of the HTTP proxy.
portThe port of the HTTP proxy.
Returns
A HTTP proxy authentication object initialized with the given host and port.
Exceptions
NSInvalidArgumentExceptionIf host is nil.
Since
6.0
- (instancetype) initWithHost: (NSString *)  host
port: (UInt32)  port
authentication: (id< PTDiffusionHTTPAuthentication >)  authentication 

Returns a HTTP proxy authentication object initialized with the given host, port and authentication.

Parameters
hostThe host name of the proxy.
portThe TCP port of the proxy.
authenticationThe provider to be used if the proxy requests authentication.
Returns
A HTTP proxy authentication object initialized with the given host, port and authentication.
Exceptions
NSInvalidArgumentExceptionIf either host or authentication is nil.
See Also
PTDiffusionBasicHTTPProxyAuthentication
Since
6.0
- (BOOL) isEqualToHTTPProxyConfiguration: (nullable PTDiffusionHTTPProxyConfiguration *)  configuration

Compares the receiver to the given configuration.

Parameters
configurationThe HTTP proxy configuration object with which to compare the receiver.
Returns
YES if the configuration is identical to the receiver, otherwise NO.
Since
6.0

Property Documentation

- (id<PTDiffusionHTTPAuthentication>) authentication
readnonatomicassign

The provider to be used if the proxy requests authentication.

See Also
PTDiffusionBasicHTTPProxyAuthentication
Since
6.0
- (NSString*) host
readnonatomicassign

The host name of the proxy.

Since
6.0
- (UInt32) port
readnonatomicassign

The TCP port of the proxy.

Since
6.0