NetCoreServer
NetCoreServer copied to clipboard
SendRequest timeout in http client is not work
var res = client.SendRequest(req,new TimeSpan(0,0,3)); can not execute TimeoutHandler
I'm having this same issue.
var tmpClient = new HttpClientEx(Address, Port);
var tmpResponse = tmpClient.SendRequest(request, TimeSpan.FromSeconds(2.0)).Result;
When the SendRquest method is called the timeout doesn't trigger.