ibm-bluemix-mobile-services / bluemix-simple-http-client-swift Goto Github PK
View Code? Open in Web Editor NEWSimpleHttpClient
License: Apache License 2.0
SimpleHttpClient
License: Apache License 2.0
Currently, this project depends on the KituraNet API for outbound HTTP requests. As far as I can tell, this is for historical reasons: the KituraNet API runs on libcurl and worked reliably on Linux back when URLSession on Linux didn't.
We intend to deprecate and remove the KituraNet API as there is no reason why it should provide an API for outbound HTTP requests now that URLSession on Linux is functional.
This issue is to discuss how to achieve that. Here are a few options:
My preference is for options 3 or 4, as I don't see why the users of this repo can't be updated to use one of the alternatives directly.
Swift version DEVELOPMENT-SNAPSHOT-2016-06-06-a
I'm attempting to build a Kitura app to deploy on Bluemix. My app depends on bluemix-objectstorage-swift-sdk
which depends on this module.
The issue I'm running in to is this module requires minor version 19
, however Kitura requires minor version 20
This is leading to error: The dependency graph could not be satisfied (https://github.com/IBM-Swift/Kitura-net.git)
Hello
I got "unsatisfiable" error like below with Kitura 1.7.x (In Swift 3.1)
swift build
Fetching https://github.com/ibm-bluemix-mobile-services/bluemix-objectstorage-serversdk-swift.git
Fetching https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
error: unsatisfiable
This module is using Kitura-Net 1.6.x and it occurs the 'unsatisfiable' error with Kitura 1.7.x.
I got 'unsatisfiable' error with dependencies like below.
.Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/Swift-cfenv.git", majorVersion: 4, minor: 0), .Package(url: "https://github.com/IBM-Swift/Kitura-CouchDB.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git", majorVersion: 0, minor: 10), .Package(url: "https://github.com/ibm-bluemix-mobile-services/bluemix-objectstorage-serversdk-swift.git", majorVersion: 0, minor: 7)
There was no error with dependencies like below.
.Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/Swift-cfenv.git", majorVersion: 4, minor: 0), .Package(url: "https://github.com/IBM-Swift/Kitura-CouchDB.git", majorVersion: 1, minor: 7), .Package(url: "https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git", majorVersion: 0, minor: 10)
im am receiving errors when using swift-tools-version:4.0.
any ideas how to fix?
error: product dependency 'OpenSSL' not found
error: product dependency 'CEpoll' not found
error: product dependency 'Signals' not found
Updating https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git
when adding to package.swift like
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "xx",
products: [
...
],
dependencies: [
...
.package(url: "https://github.com/ibm-bluemix-mobile-services/bluemix-simple-http-client-swift.git", from: "0.7.0")
],
targets: [
...
]
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.