public static void UseNewtonsoftSerializer(this NaylahRestClient2 restClient, string contentType, JsonSerializerSettings jsonSerializerSettings) { restClient.UseSerializer(contentType, new NewtonsoftSerializer(jsonSerializerSettings)); }
public static void UseTextPlainSerializer(this NaylahRestClient2 restClient, string contentType) { restClient.UseSerializer(contentType, new TextPlainSerializer()); }