ChatSecure-iOS/ChatSecure/Classes/Controllers/XMPP/ProxyXMPPStream.h

21 lines
464 B
Objective-C

//
// ProxyXMPPStream.h
// ChatSecure
//
// Created by Chris Ballinger on 2/2/17.
// Copyright © 2017 Chris Ballinger. All rights reserved.
//
#import "OTRXMPPStream.h"
@import ProxyKit;
@interface ProxyXMPPStream : XMPPStream
/**
* Sets SOCKS proxy host and port
**/
- (void) setProxyHost:(NSString*)host port:(uint16_t)port version:(GCDAsyncSocketSOCKSVersion)version;
- (void) setProxyUsername:(NSString *)username password:(NSString*)password;
@end