File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ public interface IRestClient
33
33
#if ! PocketPC
34
34
CookieContainer CookieContainer { get ; set ; }
35
35
#endif
36
+ int ? MaxRedirects { get ; set ; }
37
+
36
38
string UserAgent { get ; set ; }
37
39
38
40
int Timeout { get ; set ; }
@@ -59,6 +61,8 @@ public interface IRestClient
59
61
IRestResponse Execute ( IRestRequest request ) ;
60
62
61
63
IRestResponse < T > Execute < T > ( IRestRequest request ) where T : new ( ) ;
64
+
65
+ byte [ ] DownloadData ( IRestRequest request ) ;
62
66
#endif
63
67
64
68
#if FRAMEWORK
@@ -70,6 +74,8 @@ public interface IRestClient
70
74
IWebProxy Proxy { get ; set ; }
71
75
#endif
72
76
77
+ bool FollowRedirects { get ; set ; }
78
+
73
79
Uri BuildUri ( IRestRequest request ) ;
74
80
75
81
/// <summary>
@@ -110,6 +116,8 @@ public interface IRestClient
110
116
111
117
void RemoveHandler ( string contentType ) ;
112
118
119
+ void ClearHandlers ( ) ;
120
+
113
121
#if FRAMEWORK
114
122
IRestResponse ExecuteAsGet ( IRestRequest request , string httpMethod ) ;
115
123
You can’t perform that action at this time.
0 commit comments