HttpDataSourceResolverConfigScope
interface HttpDataSourceResolverConfigScope
Functions
Link copied to clipboard
Sets a client for this DataSourceResolver. It overwrites previous HttpDataSourceResolverConfigScope.client calls.
Sets an instance of HttpClient with given config for this DataSourceResolver. It overwrites previous HttpDataSourceResolverConfigScope.client calls.
Sets an instance of HttpClient with given config and engine for this DataSourceResolver. It overwrites previous HttpDataSourceResolverConfigScope.client calls.
Link copied to clipboard
abstract infix fun <Request, Response, T : DataSource<Request, Response>> PureDataSourceKey<T>.resolvedBy(provider: () -> HttpEndpoint<Request, *, Response>)
Associates this key with HttpEndpoint provided by provider.
Link copied to clipboard
abstract infix fun <Request, Response, T : DataSource<Request, Response>> PureDataSourceKey<T>.resolvesTo(endpoint: HttpEndpoint<Request, *, Response>)
Properties
Link copied to clipboard
HttpErrorMapper that is injected into HttpEndpoints that returns null from HttpEndpoint.errorMapper.