Does anyone know whether Volley supports SSl in Android? Is there is any way to support SSL via Volley?
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.