|
|
@ -1,11 +1,10 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Globalization; |
|
|
using System.Globalization; |
|
|
|
|
|
using System.Threading; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Volo.Abp.Application.Services; |
|
|
|
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
using Volo.Abp.UI; |
|
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.Http.DynamicProxying |
|
|
namespace Volo.Abp.Http.DynamicProxying |
|
|
{ |
|
|
{ |
|
|
@ -129,6 +128,13 @@ namespace Volo.Abp.Http.DynamicProxying |
|
|
{ |
|
|
{ |
|
|
return Task.FromResult(id + 1); |
|
|
return Task.FromResult(id + 1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
|
|
[Route("abort-request")] |
|
|
|
|
|
public async Task AbortRequestAsync(CancellationToken cancellationToken) |
|
|
|
|
|
{ |
|
|
|
|
|
await Task.Delay(100, cancellationToken); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public class Car |
|
|
public class Car |
|
|
|