Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | 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:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

NSString * host
 
UInt32 port
 
id< PTDiffusionHTTPAuthenticationauthentication
 

Instance Methods

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

Method Documentation

- (instancetype) initWithHost: (NSString *)  host
port: (UInt32)  port 
Parameters
hostThe host name of the HTTP proxy.
portThe port of the HTTP proxy.
Exceptions
NSInvalidArgumentExceptionIf host is nil.
Since
6.0
- (instancetype) initWithHost: (NSString *)  host
port: (UInt32)  port
authentication: (id< PTDiffusionHTTPAuthentication >)  authentication 
Parameters
hostThe host name of the proxy.
portThe TCP port of the proxy.
authenticationThe provider to be used if the proxy requests 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