Example #1
0
 /// <summary>
 /// Creates a new <see cref="RefitSettings"/> instance with the default parameters
 /// </summary>
 public RefitSettings()
 {
     ContentSerializer                = new SystemTextJsonContentSerializer();
     UrlParameterFormatter            = new DefaultUrlParameterFormatter();
     FormUrlEncodedParameterFormatter = new DefaultFormUrlEncodedParameterFormatter();
     ExceptionFactory = new DefaultApiExceptionFactory(this).CreateAsync;
 }
Example #2
0
 public RefitSettings()
 {
     UrlParameterFormatter            = new DefaultUrlParameterFormatter();
     FormUrlEncodedParameterFormatter = new DefaultFormUrlEncodedParameterFormatter();
     ContentSerializer = new JsonContentSerializer();
 }
Example #3
0
 public RefitSettings()
 {
     UrlParameterFormatter            = new DefaultUrlParameterFormatter();
     FormUrlEncodedParameterFormatter = new DefaultFormUrlEncodedParameterFormatter();
 }
Example #4
0
 public RefitSettings()
 {
     UrlParameterFormatter = new DefaultUrlParameterFormatter();
 }
Example #5
0
 public RefitSettings()
 {
     UrlParameterFormatter = new DefaultUrlParameterFormatter();
 }