API Differences between 17.0.0 and 16.2.0
124 Additions
26 Removals
Refit
-
public enum ContentSerializerNameStyle
-
public class DefaultUrlParameterFormatter : IUrlParameterFormatter
-
public sealed class FormField<TBody>
- public string ExplicitName { get; }
- public FormFieldNames Names { get; }
- public FormField(Func<TBody, object> getter, string clrName, string explicitName, string prefixSegment, string format, CollectionFormat? collectionFormat, bool serializeNull)
- public string ResolveFieldName(IUrlParameterKeyFormatter urlParameterKeyFormatter)
- public FormField(Func<TBody, object> getter, string clrName, FormFieldNames names, string prefixSegment, string format, CollectionFormat? collectionFormat, bool serializeNull)
- public string ResolveFieldName(IUrlParameterKeyFormatter urlParameterKeyFormatter, ContentSerializerNameStyle nameStyle)
-
public struct FormFieldNames : IEquatable<FormFieldNames>
-
public static class GeneratedRequestRunner
- public static void AddFormattedCollectionProperty(ref GeneratedQueryStringBuilder builder, RefitSettings settings, IEnumerable values, string key, CollectionFormat collectionFormat, bool preEncoded, ValueTuple<Type, ICustomAttributeProvider, Type> formatting)
- public static void AddFormattedCollectionProperty(ref GeneratedQueryStringBuilder builder, RefitSettings settings, IEnumerable values, string key, CollectionFormat collectionFormat, bool preEncoded, ValueTuple<Type, IParameterAttributeProvider, Type> formatting)
- public static string BuildFormKey(RefitSettings settings, string clrName, string explicitName, string jsonName, string newtonsoftName, string xmlName, string prefixSegment)
- public static string FormatUrlParameter(RefitSettings settings, object value, ICustomAttributeProvider attributeProvider, Type type)
- public static string FormatUrlParameter(RefitSettings settings, object value, IParameterAttributeProvider attributeProvider, Type type)
- public static string RoundTripEscapePath(string value, RefitSettings settings, ICustomAttributeProvider attributeProvider, Type type)
- public static string RequireRelativeOrAbsoluteUrl(object url)
- public static string RoundTripEscapePath(string value, RefitSettings settings, IParameterAttributeProvider attributeProvider, Type type)
-
public sealed class HttpRetryBackoffOptions
-
public sealed class HttpRetryHandler : DelegatingHandler
-
public sealed class HttpRetryOptions
-
public sealed class HttpRetryReplayOptions
-
public sealed class HttpRetryResponsesOptions
-
public interface IContentSerializerNameStyle
-
public interface IHttpContentSerializer
-
public interface IParameterAttributeProvider
-
public interface IUrlParameterFormatter
-
public class JsonContentSerializer : IHttpContentSerializer
-
public class ObjectToInferredTypesConverter : JsonConverter<object>
-
public sealed class QueryAttribute : Attribute
- public string Name { get; set; }
-
public sealed class RefitExceptionsSettings
-
public sealed class RefitRequestsSettings
-
public sealed class RefitSerializationSettings
-
public class RefitSettings
-
public sealed class RefitUrlSettings
-
public static class RequestBuilder
-
public sealed class RestMethodInfo : IEquatable<RestMethodInfo>
-
public class RestMethodParameterInfo
-
public class RestMethodParameterProperty
-
public static class RestService
- public static T For<T>(HttpClient client, IRequestBuilder<T> builder)
- public static T For<T>(HttpClient client, RefitSettings settings)
- public static T For<T>(HttpClient client)
- public static T For<T>(string hostUrl, RefitSettings settings)
- public static T For<T>(string hostUrl)
- public static object For(Type refitInterfaceType, HttpClient client, IRequestBuilder builder)
- public static object For(Type refitInterfaceType, HttpClient client, RefitSettings settings)
- public static object For(Type refitInterfaceType, HttpClient client)
- public static object For(Type refitInterfaceType, string hostUrl, RefitSettings settings)
- public static object For(Type refitInterfaceType, string hostUrl)
-
public static class RetryDelayProviders
- public static TimeSpan? Aws(HttpResponseMessage response, DateTimeOffset now, CancellationToken cancellationToken)
- public static TimeSpan? Azure(HttpResponseMessage response, DateTimeOffset now, CancellationToken cancellationToken)
- public static TimeSpan? GitHub(HttpResponseMessage response, DateTimeOffset now, CancellationToken cancellationToken)
- public static TimeSpan? Jira(HttpResponseMessage response, DateTimeOffset now, CancellationToken cancellationToken)
- public static TimeSpan? (HttpResponseMessage response, string headerName, RetryHeaderFormat format, DateTimeOffset now, CancellationToken cancellationToken)
- public static TimeSpan? RetryAfter(HttpResponseMessage response, DateTimeOffset now, CancellationToken cancellationToken)
-
public enum
-
public enum RetryJitterMode
-
public sealed class SystemTextJsonContentSerializer : IHttpContentSerializer, IStreamingContentSerializer, ISynchronousContentSerializer, ISynchronousContentDeserializer, IContentSerializerNameStyle
-
public sealed class UrlAttribute : Attribute