I am using server-side Blazor with .net core 3.0 preview 6.
I am trying to add a custom header to the Uploader request via the OnUploadStart attribute.
In the OnUploadStart function it takes UploadingEventArgs as argument like so:
protected void AddTokens(UploadingEventArgs args)
However, the above function does not work because the type of CurrentRequest is of object, and the underlying type is Newtonsoft.Json.Linq.JObject.
What is the correct way of setting a custom header for the uploader request?