Unplanned
Last Updated: 09 Mar 2023 10:41 by ADMIN
Mike
Created on: 02 Mar 2023 21:11
Category: Upload
Type: Feature Request
1
Add ability to use a named or custom HttpClient
This request is for the Upload component to allow using a named HttpClient for connecting to the Web API.  This would alleviate the need to enter authentication headers in the OnUpload event if the named HttpClient has already been configured for all of that at startup.  I see 2 potential options for this.  Either provide a string parameter that contains the name of the HttpClient that was set up at startup. This way when you instantiate an HttpClient, you can use a factory to create it by name.  Or provide an IHttpClient parameter where the user can directly pass in the client to the component.
0 comments