Diffusion Apple API
6.2.7
Unified Client Library for iOS, tvOS and OS X / macOS
|
Connection details for an HTTP proxy to be tunneled through in order to reach the Diffusion server.
Class Methods | |
(instancetype) | + NS_UNAVAILABLE |
Properties | |
NSString * | host |
UInt32 | port |
id< PTDiffusionHTTPAuthentication > | authentication |
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
(instancetype) | - initWithHost:port: |
(instancetype) | - initWithHost:port:authentication: |
(BOOL) | - isEqualToHTTPProxyConfiguration: |
- (instancetype) initWithHost: | (NSString *) | host | |
port: | (UInt32) | port | |
host | The host name of the HTTP proxy. |
port | The port of the HTTP proxy. |
NSInvalidArgumentException | If host is nil . |
- (instancetype) initWithHost: | (NSString *) | host | |
port: | (UInt32) | port | |
authentication: | (id< PTDiffusionHTTPAuthentication >) | authentication | |
host | The host name of the proxy. |
port | The TCP port of the proxy. |
authentication | The provider to be used if the proxy requests authentication. |
NSInvalidArgumentException | If either host or authentication is nil . |
- (BOOL) isEqualToHTTPProxyConfiguration: | (nullable PTDiffusionHTTPProxyConfiguration *) | configuration |
Compares the receiver to the given configuration.
configuration | The HTTP proxy configuration object with which to compare the receiver. |
YES
if the configuration is identical to the receiver, otherwise NO
.
|
readnonatomicassign |
The provider to be used if the proxy requests authentication.
|
readnonatomicassign |
The host name of the proxy.
|
readnonatomicassign |
The TCP port of the proxy.