iOS web browser with a focus on security and privacy
1/*
2 * Endless
3 * Copyright (c) 2014-2015 joshua stein <jcs@jcs.org>
4 *
5 * See LICENSE file for redistribution terms.
6 */
7
8#import <Foundation/Foundation.h>
9
10@interface HTTPSEverywhereRule : NSObject
11
12@property NSString *name;
13@property NSArray *exclusions;
14@property NSDictionary *rules;
15@property NSDictionary *secureCookies;
16@property NSString *platform;
17@property BOOL on_by_default;
18@property NSString *notes;
19/* not loaded here since HTTPSEverywhere class has a big list of them */
20@property NSArray *targets;
21
22- (id)initWithDictionary:(NSDictionary *)dict;
23- (NSURL *)apply:(NSURL *)url;
24
25@end