We have a Restful Client-Sever environment, and I'm trying to debug my code where the client code looks like this:
await Client.DoWork(Id);
While the server code is as follows:
public virtual async Task<IActionResult> DoWork(long Id)
{
return Ok();
}
Please note that the client is a web client for a service that is automatically generated from the code https://github.com/swagger-api/swagger-codegen.
The point in the automatically generated code that it never returns is as follows:
var response_ = await client_.SendAsync(request_,
System.Net.Http.HttpCompletionOption.ResponseHeadersRead,
cancellationToken).ConfigureAwait(false);
In this case, the control is missing
- One thing that may or may not be useful here is that service calls go through a proxy. Not sure if this will change anything.
API, , Return OK(), Fiddler, 200OK, . ?