Skip to content

Commit 4bab40a

Browse files
committed
Fix RestClient for SL, WP from previous commit
1 parent fff871d commit 4bab40a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RestSharp/IRestClient.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,11 @@ public interface IRestClient
112112
/// <param name="httpMethod">The HTTP method to execute</param>
113113
RestRequestAsyncHandle ExecuteAsyncPost<T>(IRestRequest request, Action<IRestResponse<T>, RestRequestAsyncHandle> callback, string httpMethod);
114114

115+
#if FRAMEWORK
115116
IRestResponse ExecuteAsGet(IRestRequest request, string httpMethod);
116117
IRestResponse ExecuteAsPost(IRestRequest request, string httpMethod);
117118
IRestResponse<T> ExecuteAsGet<T>(IRestRequest request, string httpMethod) where T : new();
118119
IRestResponse<T> ExecuteAsPost<T>(IRestRequest request, string httpMethod) where T : new();
120+
#endif
119121
}
120122
}

0 commit comments

Comments
 (0)