Giter VIP home page Giter VIP logo

Comments (3)

ramosbugs avatar ramosbugs commented on June 10, 2024

Thanks for filing this issue! If the use case is to support actors, then maybe the async requirement (#44) is more crucial here than the choice of HTTP client library. If we expose an async interface that returns a Future, that seems like something that could be integrated with the actor model, regardless of how the underlying outbound HTTP requests are made.

I'm still in favor of providing an interface for customizing the HTTP backend (mainly to allow callers to specify TLS parameters, proxies, etc.), but I'm not sure if that would necessarily help integrating with something like actix-web. In particular, the hyper::client::connect::Connect trait is quite low-level (bytes sent/received), while something actor-related probably operates at a higher level of abstraction (e.g., HTTP requests/responses).

from oauth2-rs.

bachp avatar bachp commented on June 10, 2024

Actix also supports Sync Actors, so it is not that crucial.

It's probably more an ideal (that is not necessary) to have everything done using actix. But I think a pure rust solution (like hyper) that does not depend on curl would be a better default.

from oauth2-rs.

ramosbugs avatar ramosbugs commented on June 10, 2024

multiple clients are supported in the latest master

from oauth2-rs.

Related Issues (20)

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.