8000 Feature request: blocking calls · Issue #11 · e5l/http-client-common · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Feature request: blocking calls #11
Open
@thevery

Description

@thevery

Current API is promise-based, you can't do something like
val body = client.request().blockingGet().body
especially on iOS. Blocking calls are particularly useful for tests but we're using them in app code, too. With rxjava it is super easy to converter blocking call to future and vice versa: Single.fromCallable and Single.blockingGet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0