icarus-consulting / Yaapii.Http

C# Library for Http Request
MIT License
7 stars 0 forks source link

Add ability to set security protocol for wire #73

Closed MSE1188 closed 3 years ago

MSE1188 commented 3 years ago

Expected Behavior

We can set the security protocol, when initializing a client. By default, this should be: ServicePointManager.SecurityProtocol =SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

Actual Behavior

Mention any other details that might be useful

It can happen, that a server does not understand the security protocol, which the client (that sends the http request) is using.

Steps to reproduce the behavior

The log given by the failure.