API Diff between 106.9.1-alpha.0.19 and 106.2.0-alpha0060
246 Additions
33 Removals
RestSharp
-
public enum DataFormat
-
public class DefaultProxy : IWebProxy
-
public class DeserializationException : Exception
-
public class FileParameter
-
public class Http : IHttp
-
public interface IHttp
-
public interface IHttpFactory
-
public interface IJsonSerializerStrategy
-
public interface IRestClient
- bool FailOnDeserializationError { get; set; }
- bool ThrowOnAnyError { get; set; }
- bool ThrowOnDeserializationError { get; set; }
- void AddHandler(string contentType, Func<IDeserializer> deserializerFactory)
- string BuildUriWithoutQueryParameters(IRestRequest request)
- void ConfigureWebRequest(Action<HttpWebRequest> configurator)
- IRestResponse Execute(IRestRequest request, Method httpMethod)
- IRestResponse<T> Execute<T>(IRestRequest request, Method httpMethod)
- RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse, RestRequestAsyncHandle> callback, Method httpMethod)
- RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>, RestRequestAsyncHandle> callback, Method httpMethod)
- Task<IRestResponse<T>> ExecuteTaskAsync<T>(IRestRequest request, Method httpMethod)
- Task<IRestResponse> ExecuteTaskAsync(IRestRequest request, CancellationToken token, Method httpMethod)
- IRestClient UseQueryEncoder(Func<string, Encoding, string> queryEncoder)
- IRestClient UseSerializer(IRestSerializer serializer)
- IRestClient UseSerializer(Func<IRestSerializer> serializerFactory)
- IRestClient UseSerializer<T>() where T : IRestSerializer
- IRestClient UseUrlEncoder(Func<string, string> encoder)
-
public interface IRestRequest
-
public class JsonArray : List<object>
-
public class JsonObject : IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
-
public class JsonParameter : Parameter
-
public class JsonRequest<TRequest, TResponse> : RestRequest
-
public class NameValuePair
-
public class Parameter : IEquatable<Parameter>
-
public enum ParameterType
-
public class PocoJsonSerializerStrategy : IJsonSerializerStrategy
-
public class RequestBody
- public string ContentType { get; }
- public string Name { get; }
- public object Value { get; }
- public RequestBody(string contentType, string name, object value)
-
public class RestClient : IRestClient
- public IHttpFactory HttpFactory
- public bool FailOnDeserializationError { get; set; }
- public bool ThrowOnAnyError { get; set; }
- public bool ThrowOnDeserializationError { get; set; }
- public void AddHandler(string contentType, Func<IDeserializer> deserializerFactory)
- public void AddHandler(Func<IDeserializer> deserializerFactory, string[] contentTypes)
- public void AddHandler(IDeserializer deserializer, string[] contentTypes)
- public void ConfigureWebRequest(Action<HttpWebRequest> configurator)
- public virtual IRestResponse Execute(IRestRequest request, Method httpMethod)
- public virtual IRestResponse<T> Execute<T>(IRestRequest request, Method httpMethod)
- public virtual RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse, RestRequestAsyncHandle> callback, Method httpMethod)
- public virtual RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>, RestRequestAsyncHandle> callback, Method httpMethod)
- public virtual Task<IRestResponse> ExecuteAsync(IRestRequest request, CancellationToken token)
- public virtual Task<IRestResponse<T>> ExecuteTaskAsync<T>(IRestRequest request, Method httpMethod)
- public virtual Task<IRestResponse> ExecuteTaskAsync(IRestRequest request, CancellationToken token, Method httpMethod)
- public virtual Task<IRestResponse<T>> ExecuteTaskAsync<T>(IRestRequest request, CancellationToken token, Method httpMethod)
- public IRestClient UseQueryEncoder(Func<string, Encoding, string> queryEncoder)
- public IRestClient UseSerializer(IRestSerializer serializer)
- public IRestClient UseSerializer(Func<IRestSerializer> serializerFactory)
- public IRestClient UseSerializer<T>() where T : IRestSerializer
- public IRestClient UseUrlEncoder(Func<string, string> encoder)
-
public static class RestClientExtensions
- public static void (this IRestClient restClient, string name, string value)
- public static void AddDefaultParameter(this IRestClient restClient, Parameter p)
- public static void AddDefaultParameter(this IRestClient restClient, string name, object value)
- public static void AddDefaultParameter(this IRestClient restClient, string name, object value, ParameterType type)
- public static void AddDefaultUrlSegment(this IRestClient restClient, string name, string value)
- public static IRestClient (this IRestClient restClient, string name, string value)
- public static IRestClient (this IRestClient restClient, Dictionary<string, string> headers)
- public static IRestClient AddDefaultParameter(this IRestClient restClient, Parameter p)
- public static IRestClient AddDefaultParameter(this IRestClient restClient, string name, object value)
- public static IRestClient AddDefaultParameter(this IRestClient restClient, string name, object value, ParameterType type)
- public static IRestClient AddDefaultQueryParameter(this IRestClient restClient, string name, string value)
- public static IRestClient AddDefaultUrlSegment(this IRestClient restClient, string name, string value)
- public static IRestClient AddOrUpdateDefaultParameter(this IRestClient restClient, Parameter p)
- public static Task<T> DeleteAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> GetAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> HeadAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> OptionsAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> PatchAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> PostAsync<T>(this IRestClient client, IRestRequest request)
- public static Task<T> PutAsync<T>(this IRestClient client, IRestRequest request)
- public static void RemoveDefaultParameter(this IRestClient restClient, string name)
- public static IRestClient RemoveDefaultParameter(this IRestClient restClient, string name)
- public static RestClient UseJson(this RestClient client)
- public static RestClient UseXml(this RestClient client)
-
public static class RestClientJsonRequest
- public static IRestResponse<TResponse> Delete<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Get<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Head<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Options<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Patch<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Post<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
- public static IRestResponse<TResponse> Put<TRequest, TResponse>(this IRestClient client, JsonRequest<TRequest, TResponse> request)
-
public class RestRequest : IRestRequest
-
public class RestResponseCookie
-
public class SimpleFactory<T> : IHttpFactory where T : IHttp
-
public static class SimpleJson
-
public class XmlParameter : Parameter
RestSharp.Authenticators
RestSharp.Deserializers
RestSharp.Extensions
RestSharp.Serialization
RestSharp.Serialization.Json
RestSharp.Serialization.Xml
RestSharp.Serializers
RestSharp.Validation
-
public static class Ensure
- public static void NotEmpty(string parameter, string name)
- public static void NotNull(object parameter, string name)
SimpleJson