-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Previous ID | SR-12982 |
Radar | rdar://problem/64947425 |
Original Reporter | @weissi |
Type | Bug |
Environment
docker.io/swiftlang/swift:nightly-master-bionic
Swift version 5.3-dev (LLVM 6049ecf8a0, Swift 4205e46959)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
Votes | 1 |
Component/s | Foundation |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 7b395a96600be27ba3bccd448b599c4c
Issue Description:
I'm really not an expert in URLSession but I wanted to implement bidirectional streaming with it and I believe I require Stream.getBoundStreams
for that (https://developer.apple.com/documentation/foundation/url_loading_system/uploading_streams_of_data).
But:
$ jw-docker-swift-master swift run
docker.io/swiftlang/swift:nightly-master-bionic
/Users/johannes/devel/URLSessionBidiStreaming/Sources/URLSessionBidiStreaming/main.swift:59:16: error: type 'Stream' has no member 'getBoundStreams'
Stream.getBoundStreams(withBufferSize: 4096,
~~~~~~ ^~~~~~~~~~~~~~~
it seems like Streams.getBoundStreams
isn't available on Linux.