@@ -70,19 +70,20 @@ public RestClientOptions(string baseUrl) : this(new Uri(Ensure.NotEmptyString(ba
70
70
/// </summary>
71
71
public X509CertificateCollection ? ClientCertificates { get ; set ; }
72
72
73
- public IWebProxy ? Proxy { get ; set ; }
74
- public CacheControlHeaderValue ? CachePolicy { get ; set ; }
75
- public bool FollowRedirects { get ; set ; } = true ;
76
- public CookieContainer ? CookieContainer { get ; set ; }
77
- public string UserAgent { get ; set ; } = DefaultUserAgent ;
78
-
73
+ public IWebProxy ? Proxy { get ; set ; }
74
+ public CacheControlHeaderValue ? CachePolicy { get ; set ; }
75
+ public bool FollowRedirects { get ; set ; } = true ;
76
+ public bool ? Expect100Continue { get ; set ; } = null ;
77
+ public CookieContainer ? CookieContainer { get ; set ; }
78
+ public string UserAgent { get ; set ; } = DefaultUserAgent ;
79
+
79
80
/// <summary>
80
81
/// Maximum request duration in milliseconds. When the request timeout is specified using <seealso cref="RestRequest.Timeout"/>,
81
82
/// the lowest value between the client timeout and request timeout will be used.
82
83
/// </summary>
83
- public int MaxTimeout { get ; set ; }
84
-
85
- public Encoding Encoding { get ; set ; } = Encoding . UTF8 ;
84
+ public int MaxTimeout { get ; set ; }
85
+
86
+ public Encoding Encoding { get ; set ; } = Encoding . UTF8 ;
86
87
87
88
[ Obsolete ( "Use MaxTimeout instead" ) ]
88
89
public int Timeout {
@@ -128,4 +129,4 @@ public int Timeout {
128
129
/// This properly allows to override the default behavior.
129
130
/// </summary>
130
131
public bool AllowMultipleDefaultParametersWithSameName { get ; set ; }
131
- }
132
+ }
0 commit comments