Coder Social home page Coder Social logo

http-client-common's People

Contributors

e5l avatar olonho avatar sandwwraith avatar soywiz avatar vvlevchenko avatar yole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

http-client-common's Issues

Feature request: blocking calls

Current API is promise-based, you can't do something like
val body = client.request().blockingGet().body
especially on iOS. Blocking calls are particularly useful for tests but we're using them in app code, too. With rxjava it is super easy to converter blocking call to future and vice versa: Single.fromCallable and Single.blockingGet.

Interceptors / Features?

I see in the ktor docs that they support something similar to interceptors, but I'm not seeing that in this repo. Am I missing it, or is there no way to intercept / modify requests with this http client? That seems like core functionality for dealing with things like auth, and adding proper auth headers to all requests.

Native === iOS

Let's update artifacts and documentation to clearly state that native is iOS in current builds

Build failed with an exception.

We will create an api core library for service with kotlin native and I knew with your lib.
I implemented your lib and I coded on my Common layer but when I want compile and build from my project get exception to me.

my issue:
` Task :apiCore:androidProcessResources NO-SOURCE
e: /Users/imanx/Desktop/zarinpal-mutliplatform/apiCore/src/commonMain/kotlin/APICore.kt: (3, 30): Unresolved reference: HttpClient
e: /Users/imanx/Desktop/zarinpal-mutliplatform/apiCore/src/commonMain/kotlin/APICore.kt: (4, 35):
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':apiCore:compileKotlinAndroid'.

Compilation error. See log for more details`

that issues completely from http-client-common are
where my problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.