Skip to content

Commit 42ef5a0

Browse files
committed
Add setters to IAPIRequestHandler properties
1 parent ee1be42 commit 42ef5a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ExchangeSharp/API/Common/IAPIRequestMaker.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,31 +151,31 @@ public interface IAPIRequestHandler
151151
/// <summary>
152152
/// Base url for the request
153153
/// </summary>
154-
string BaseUrl { get; }
154+
string BaseUrl { get; set; }
155155

156156
/// <summary>
157157
/// Request method, i.e. GET
158158
/// </summary>
159-
string RequestMethod { get; }
159+
string RequestMethod { get; set; }
160160

161161
/// <summary>
162162
/// Request content type, i.e. application/json
163163
/// </summary>
164-
string RequestContentType { get; }
164+
string RequestContentType { get; set; }
165165

166166
/// <summary>
167167
/// Request cache policy
168168
/// </summary>
169-
System.Net.Cache.RequestCachePolicy RequestCachePolicy { get; }
169+
System.Net.Cache.RequestCachePolicy RequestCachePolicy { get; set; }
170170

171171
/// <summary>
172172
/// Request timeout, this will get assigned to the request before sending it off
173173
/// </summary>
174-
TimeSpan RequestTimeout { get; }
174+
TimeSpan RequestTimeout { get; set; }
175175

176176
/// <summary>
177177
/// Rate limiter
178178
/// </summary>
179-
RateGate RateLimit { get; }
179+
RateGate RateLimit { get; set; }
180180
}
181181
}

0 commit comments

Comments
 (0)