Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Background upload / download using URLSession transport #54

Open
@hivenet-erwanjestin

Description

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

        AltStyle によって変換されたページ (->オリジナル) /