I am working on a solution which download all the files of a SharePoint library using Microsoft Graph API.
I am using one GraphServiceClient
to do all my requests.
I am multithreading all the downloads and at some points I am getting timeout error Code: timeout Message: The request timed out.
. I have found this post Set TimeOut to a higher value in Microsoft.Graph SDK which is showing how to set a higher OverallTimeout
for the HttpProvider of my GraphServiceClient
but I'd prefer to be able to set a TimeOut over the request I suspect that will trigger the TimeOut.
Is there a way to do so? What have I missed? Or is it even possible? I haven't found yet the answer in the MSDN, SO or in the Graph C# library.