call_adapter library
Classes
-
CallAdapter<
R, T> -
Adapts a Call with return type R into the type of T.
e.g.
Future<User>toFuture<Result<User>> - UseCallAdapter
-
By annotating a method with
@UseCallAdapter, you can specify a custom adapter class where you can adapt a call to another response wrapper