Context: client (requests) -> 1 https connection -> server (responses)
Each request has a payload (Data) and the same for responses - so there is not a json request body.
I have to create and manage a https connection , this connection must be re-useable, I mean between client-requests and server-responses should use the same connection.
It could be achieved with URLSession ?, if yes, how?, else what would be the alternatives?.
Thanks in advance.
Each request has a payload (Data) and the same for responses - so there is not a json request body.
I have to create and manage a https connection , this connection must be re-useable, I mean between client-requests and server-responses should use the same connection.
It could be achieved with URLSession ?, if yes, how?, else what would be the alternatives?.
Thanks in advance.