Interface IRegularTestController
Assembly: Volo.Abp.Http.Client.Tests.dll
Syntax
public interface IRegularTestController
Methods
AbortRequestAsync(CancellationToken)
Declaration
Task<string> AbortRequestAsync(CancellationToken cancellationToken = default)
Parameters
| Type |
Name |
Description |
| System.Threading.CancellationToken |
cancellationToken |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
DeleteByIdAsync(int)
Declaration
Task<int> DeleteByIdAsync(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><int> |
|
GetException1Async()
Declaration
Task GetException1Async()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetException2Async()
Declaration
Task GetException2Async()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetObjectandCountAsync(int, Car)
Declaration
Task<Car> GetObjectandCountAsync(int count, Car bodyValue)
Parameters
| Type |
Name |
Description |
| int |
count |
|
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
GetObjectandFirstReleaseDateAsync(DateTime, Car)
Declaration
Task<Car> GetObjectandFirstReleaseDateAsync(DateTime time, Car bodyValue)
Parameters
| Type |
Name |
Description |
| System.DateTime |
time |
|
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
GetObjectandIdAsync(int, Car)
Declaration
Task<Car> GetObjectandIdAsync(int id, Car bodyValue)
Parameters
| Type |
Name |
Description |
| int |
id |
|
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
GetObjectAndIdWithQueryAsync(int, Car)
Declaration
Task<Car> GetObjectAndIdWithQueryAsync(int id, Car bodyValue)
Parameters
| Type |
Name |
Description |
| int |
id |
|
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
GetObjectWithUrlAsync(Car)
Declaration
Task<Car> GetObjectWithUrlAsync(Car bodyValue)
Parameters
| Type |
Name |
Description |
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
GetWithDateTimeParameterAsync(DateTime)
Declaration
Task<DateTime> GetWithDateTimeParameterAsync(DateTime dateTime1)
Parameters
| Type |
Name |
Description |
| System.DateTime |
dateTime1 |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.DateTime> |
|
IncrementValueAsync(int)
Declaration
Task<int> IncrementValueAsync(int value)
Parameters
| Type |
Name |
Description |
| int |
value |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><int> |
|
PatchValueWithBodyAsync(string)
Declaration
Task<string> PatchValueWithBodyAsync(string bodyValue)
Parameters
| Type |
Name |
Description |
| string |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
PatchValueWithHeaderAndQueryStringAsync(string, string)
Declaration
Task<string> PatchValueWithHeaderAndQueryStringAsync(string headerValue, string qsValue)
Parameters
| Type |
Name |
Description |
| string |
headerValue |
|
| string |
qsValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
PostObjectWithBodyAsync(Car)
Declaration
Task<Car> PostObjectWithBodyAsync(Car bodyValue)
Parameters
| Type |
Name |
Description |
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
PostObjectWithQueryAsync(Car)
Declaration
Task<Car> PostObjectWithQueryAsync(Car bodyValue)
Parameters
| Type |
Name |
Description |
| Car |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Car> |
|
PostValueWithBodyAsync(string)
Declaration
Task<string> PostValueWithBodyAsync(string bodyValue)
Parameters
| Type |
Name |
Description |
| string |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
PostValueWithHeaderAndQueryStringAsync(string, string)
Declaration
Task<string> PostValueWithHeaderAndQueryStringAsync(string headerValue, string qsValue)
Parameters
| Type |
Name |
Description |
| string |
headerValue |
|
| string |
qsValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
PutValueWithBodyAsync(string)
Declaration
Task<string> PutValueWithBodyAsync(string bodyValue)
Parameters
| Type |
Name |
Description |
| string |
bodyValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
PutValueWithHeaderAndQueryStringAsync(string, string)
Declaration
Task<string> PutValueWithHeaderAndQueryStringAsync(string headerValue, string qsValue)
Parameters
| Type |
Name |
Description |
| string |
headerValue |
|
| string |
qsValue |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Extension Methods