Git Product home page Git Product logo

Comments (2)

jpd236 avatar jpd236 commented on May 2, 2024 1

There's some discussion on this in the user group, but will copy my response here for posterity:

It's up to the implementation of HttpStack that you choose to use. If your stack supports HTTP 2.0 then Volley itself should have no trouble with it.

Foe example, there are a fair number of implementations of HttpStack atop OkHttp floating around that would likely work. Or, on recent versions of Android, HttpUrlConnection is backed by OkHttp, which suggests that you might just be able to use the built-in HurlStack if you only care about those platform versions, though I'm not deeply familiar with which versions would be expected to work (if any).

(Not endorsing OkHttp specifically vs. any other solution - it just happens to be the only library I'm familiar with which supports HTTP 2.0.)

from volley.

Aman-Aalam avatar Aman-Aalam commented on May 2, 2024

For anybody who reads this and thinks of using OkHttp with Volley : OkHttp supports HTTP2 from v3.9.0 and above, but one of it's bugs keeps it from multiplexing the requests one one single connection, even on v3.11.x (which is the latest)

from volley.

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.