Skip to content

如何真正地取消网络请求? #6

Description

@PiPiCaptain

比如,RxJava 1.x版本CompositeSubscription类提供的unsubscribe()方法;或者,再比如,RxJava 2.x版本CompositeDisposable类提供的clear()方法;

经过网络抓包测试,它们只是取消了RxJava的订阅,并不能取消网络请求。
那么如何才能真正地取消网络请求?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions