Method | Description | |
---|---|---|
GetHttpClient ( ) : |
This method exposes the configured HttpClient member.
|
|
HttpClientService ( IHttpContextAccessor contextAccessor, ILoggerFactory loggerFactory, IOptions |
This constructor configures the base address of the HttpClient instance member with the value of the WebApiUrl if this value is found in configuration. This constructor also configures the HttpClient instance member with an instance of HttpClientLogHandler which requires an IHttpContextAccessor and a ILoggerFactory.
|
public GetHttpClient ( ) : |
||
return |
public HttpClientService ( IHttpContextAccessor contextAccessor, ILoggerFactory loggerFactory, IOptions |
||
contextAccessor | IHttpContextAccessor | |
loggerFactory | ILoggerFactory | |
options | IOptions |
|
return | System |