A description of this package.
// init
NOS.initSDK(NOS.Config(accessKey: accessKey, accessSecret: accessSecret, endpoint: endpoint, defaultBucket: defaultBucket))
// upload
let hello = "hello world".data(using: .utf8)!
NOS.upload(data: hello, name: "hello.text").sink { re in
print(re)
} receiveValue: { info in
print(info)
}.store(in: &cancelBags)
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics