Skip to content

Background upload / download using URLSession transport #54

Open
@hivenet-erwanjestin

Description

@hivenet-erwanjestin

We are heavily using openapi to generate our REST library.
In this library we do files upload and download.

Everything works pretty well but now we want to allow background requests.
That means we need to use an URLSession with URLSessionConfiguration.background().

I saw we could override the URLSession but the most challenging part is we need a dedicate delegate for each API we have running in the background.

What's the best way to manage that with an openapi generated library?
For now, we are considering doing it manually, so removing this library from our code :'(

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