Skip to content

Add Linux support#10

Open
Flerex wants to merge 2 commits into
mw99:masterfrom
Flerex:master
Open

Add Linux support#10
Flerex wants to merge 2 commits into
mw99:masterfrom
Flerex:master

Conversation

@Flerex

@Flerex Flerex commented Aug 27, 2022

Copy link
Copy Markdown

URLRequest object and other networking components have been separated into a different module (i.e. FoundationNetworking) in Linux-based systems and are not available anymore on Foundation.

This PR includes this new module, checking first whether it's available so that it still works in the Darwin kernel.

See: https://forums.swift.org/t/pitch-move-urlsession-to-new-foundationnetworking-module/14002?page=2

@Flerex

Flerex commented Aug 27, 2022

Copy link
Copy Markdown
Author

BTW: You had it right before, it's "a UTF-8", not "an UTF-8" because the letter U has a consonant sound there (it sounds more like a "y").

@Flerex
Flerex marked this pull request as ready for review August 27, 2022 15:48
@mw99

mw99 commented Aug 29, 2022

Copy link
Copy Markdown
Owner

Oh that change just happened? Kinda a big thing to separate that out of Foundation only on linux. Doesn't that break tons of legacy code? I will see how this develops, looks kinda strange to me atm. Thanks for the typo though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants