Does anyone know whether Volley supports SSl in Android? Is there is any way to support SSL via Volley?
Android offers the following security to its users:An SSL certificate or HTTPS certificate protects the application code and App-server communication in public Wi-Fi zones and private VPN.
volley (lib) is not deprecated. Why would it be? More importantly, if it works, why does it matter? Deprecated doesn't necessarily mean something is bad.
Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available on GitHub. Volley offers the following benefits: Automatic scheduling of network requests.
The objective of the game is to try to make the ball touch the ground on the opponent side. When the ball is hit by a team, the members of other team hit it with their hands to prevent it from touching the ground and to send it to another teammate or to the other side of the court across the net.
I would like to look further @BNK 's answer. Suggest
requestQueue = Volley.newRequestQueue(getApplicationContext(), new HurlStack(null, getSSLSocketFactory()));
would be enough.
Don't know why , by follow @BNK 's answer that extends createConnection
, Volley create about 5 connections for reuse which observed by netstat
command
By just passing getSSLSocketFactory()
as new HurlStack()
parameter, the connection opened by Volley is reduced.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With