RestClient.Net
RestClient.Net copied to clipboard
More control over HTTP is needed
HTTP client needs to be configurable at runtime. Currently the generator bakes in a base URL and doesn't use HttpClient's headers.
The NucliaDB API requires a bearer token for authentication. It also requires the ability to change address without regeneration.
Example:
NucliaDB services are backed by SaaS, so the hosting region may change the base url.
EU: http://aws-east.host.com/api/v1
US: http//aws-usa.host.com/api/vi
Self host: http//mydomain.com/api/v1