Skip to content

Support thread-safe async conversions #22

@danhorst

Description

@danhorst

We have a use case where some of our conversion requests will be synchronous and some will be asynchronous in the same application.

Async requests are specified by a URI path prefix instead of a request param and I don't see a way to add that prefix to the request builder in a ConvertApi::Task as it is hard-coded to start with /convert

I could modify the base_uri in ConvertApi::Configuration but that would change it for all calls to ConvertApi#convert in the current thread instead of for a single request.

Am I missing something?

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