mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-01 07:54:03 +00:00
30 lines
564 B
Objective-C
30 lines
564 B
Objective-C
//
|
|
// ProxyConfHelper.h
|
|
// ShadowsocksX-NG
|
|
//
|
|
// Created by 邱宇舟 on 16/6/10.
|
|
// Copyright © 2016年 qiuyuzhou. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <GCDWebServer/GCDWebServer.h>
|
|
#import <GCDWebServer/GCDWebServerDataResponse.h>
|
|
|
|
@interface ProxyConfHelper : NSObject
|
|
|
|
+ (void)install;
|
|
|
|
+ (void)enablePACProxy:(NSString*) PACFilePath;
|
|
|
|
+ (void)enableGlobalProxy;
|
|
|
|
+ (void)disableProxy:(NSString*) PACFilePath;
|
|
|
|
+ (NSString*)startPACServer:(NSString*) PACFilePath;
|
|
|
|
+ (void)stopPACServer;
|
|
|
|
+ (void)enableWhiteListProxy;
|
|
|
|
@end
|