getApi

fun <T, R> RequestBuilder.getApi(service: Class<T>, serviceScope: suspend T.() -> Request2<R>): Flow<Request2<R>>

Get api service and the scope.

Since

0.5.1

Parameters

serviceScope

The scope of the api service.

See also

Retrofit.create