Skip to content

More convenient timeout #444

@kenn

Description

@kenn

As much as I absolutely appreciate to have the flexibility of connect/write/read timeouts separately, sometimes it makes sense to have a simpler form:

HTTP.timeout(5).get

as a drop-in replacement for:

Timeout.timeout(5) { YourHttpTool.get }

which maintains parity with the original semantics, thus enable to migrate from other tools.

Is this something we're interested?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions