Package-level declarations

Types

Link copied to clipboard
interface Request<T : ResponseApi>
Link copied to clipboard
open class Request2<T>

Request2

Link copied to clipboard
internal class Request2Adapter<T>(val responseType: Type, val responseInstance: Request2<T>) : CallAdapter<T, Call<Request2<T>>>

Request2adapter

Link copied to clipboard
class Request2AdapterFactory : CallAdapter.Factory

Request2 adapter factory.

Link copied to clipboard
internal class Request2Impl<T>(val call: Call<T>, val responseInstance: Request2<T>) : Call<Request2<T>>

Request2impl

Link copied to clipboard
internal class RequestAdapter<T : ResponseApi>(val responseType: Type, val executor: Executor?) : CallAdapter<T, Request<T>>
Link copied to clipboard
class RequestAdapterFactory : CallAdapter.Factory

Request adapter factory.

Link copied to clipboard
open class RequestBuilder
Link copied to clipboard
internal class RequestImpl<T : ResponseApi>(val call: Call<T>, val callbackExecutor: Executor?) : Request<T>

Functions

Link copied to clipboard
fun <T> RequestBuilder.create(serviceClass: Class<T>): T

Get api service.

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

Get api service and the scope.