Skip to content

Add configuration options #2

Open
@armanbilge

Description

@armanbilge

The general pattern for http4s clients is to have a builder, and use that to create the client.

That pattern will not work here, because the client is constructed for us by the runtime. Therefore a config data class CurlClientConfig would be the way to do this. It would be similar in spirit to IORuntimeConfig in that it should be possible to override in CurlApp.

There's some fun to scope out the various curl configuration options. There's also the question of client-level config vs request-level config, which we can expose with an attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions