diff options
Diffstat (limited to 'Swiften/Network/HTTPConnectProxiedConnection.h')
| -rw-r--r-- | Swiften/Network/HTTPConnectProxiedConnection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/HTTPConnectProxiedConnection.h b/Swiften/Network/HTTPConnectProxiedConnection.h index 6592839..a83d47c 100644 --- a/Swiften/Network/HTTPConnectProxiedConnection.h +++ b/Swiften/Network/HTTPConnectProxiedConnection.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (c) 2011-2017 Isode Limited. | 8 | * Copyright (c) 2011-2018 Isode Limited. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * See the COPYING file for more information. | 10 | * See the COPYING file for more information. |
| 11 | */ | 11 | */ |
| @@ -30,14 +30,14 @@ namespace Swift { | |||
| 30 | 30 | ||
| 31 | virtual ~HTTPConnectProxiedConnection(); | 31 | virtual ~HTTPConnectProxiedConnection(); |
| 32 | 32 | ||
| 33 | static ref create(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, int proxyPort, const SafeString& authID, const SafeString& authPassword) { | 33 | static ref create(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, unsigned short proxyPort, const SafeString& authID, const SafeString& authPassword) { |
| 34 | return ref(new HTTPConnectProxiedConnection(resolver, connectionFactory, timerFactory, proxyHost, proxyPort, authID, authPassword)); | 34 | return ref(new HTTPConnectProxiedConnection(resolver, connectionFactory, timerFactory, proxyHost, proxyPort, authID, authPassword)); |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | void setHTTPTrafficFilter(std::shared_ptr<HTTPTrafficFilter> trafficFilter); | 37 | void setHTTPTrafficFilter(std::shared_ptr<HTTPTrafficFilter> trafficFilter); |
| 38 | 38 | ||
| 39 | private: | 39 | private: |
| 40 | HTTPConnectProxiedConnection(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, int proxyPort, const SafeString& authID, const SafeString& authPassword); | 40 | HTTPConnectProxiedConnection(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, unsigned short proxyPort, const SafeString& authID, const SafeString& authPassword); |
| 41 | 41 | ||
| 42 | virtual void initializeProxy(); | 42 | virtual void initializeProxy(); |
| 43 | virtual void handleProxyInitializeData(std::shared_ptr<SafeByteArray> data); | 43 | virtual void handleProxyInitializeData(std::shared_ptr<SafeByteArray> data); |
Swift