I have rest api.
@Get("/serveraction")
public Observable<String> myRequest(@Query("Data") String data);
I know, that okhttp has canceling functionality(by request object, by tag), but don't know how use it with retrofit and rxjava. What is the best way to realize canceling mechanism for network tasks with retrofit and rxjava?