:dizzy: NClient is an automatic type-safe .Net HTTP client that allows you to call web service API methods using annotated interfaces or controllers without boilerplate code.
Apache License 2.0
43
stars
11
forks
source link
Support pass host through serviceProvider.GetOptions #400
I want to pass host and other options like
services.AddNClient(serviceProvider = > { var options = services.GetOptions<NClientOptions>(); return new NClient(options.Host); }