Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.
This repository was archived by the owner on Apr 7, 2022. It is now read-only.

HTTPClient re-use bootstrap #341

@tanner0101

Description

@tanner0101

https://apple.github.io/swift-nio/docs/current/NIO/Classes/ClientBootstrap.html mentions:

Usually you re-use a ClientBootstrap once you set it up and called connect multiple times on it. This way you ensure that the same EventLoops will be shared across all your connections.

HTTPClient is tied to an event loop, so this should be possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions