-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a URLSession backend for viaduct on iOS #1326
Comments
/cc @garvankeeley @thomcc; no particular urgency here IIUC, but worth thinking about. |
This doesn't sound hard. The same backend as for the android code could hopefully be used, just with swift powering it rather than Kotlin. The one caveat is that the API exposed by viaduct backends must be synchronous, whereas URLSession is async. That said, swift has some locks and stuff even if it's much more limited than rust there, so we can hopefully make that work. |
Happy to help.
|
Would it make sense to allow the caller to pass in a |
This was mentioned in slack last week, wanted to file it for future reference.
Our networking library currently uses hyper on iOS, which bottoms out at the system networking and TLS stack, but brings with it a bunch of intermediate dependencies. We should consider doing a thin viaduct backend that directly uses the native
URLSession
infrastructure provided by the platform, which would reduce dependency footprint and simplify reasoning about the system.┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: