The most significant changes involve the addition of a new parameter ignoreSslErrors to the WebApiConnector class, CreateWebApi method, and WebApiConnectorFactory class. This parameter allows the user to choose whether to ignore SSL errors or not.
The WebApiConnector class in WebApiConnector.cs has been updated to include a new parameter ignoreSSLErros in its constructor. This parameter is a boolean that, when set to true, will ignore SSL errors. If ignoreSSLErros is set to true, a lambda function is set to the CertificateCallback of ServerCertificateCallback that always returns true, effectively ignoring any SSL errors.
The CreateWebApi method in WebApiConnectorExtensions.cs has been updated to include a new parameter ignoreSslErrors with a default value of false. The Parameters property of the ConnectorAdapter object returned by the method has been updated to include ignoreSslErrors.
The WebApiConnectorFactory class in WebApiConnectorFactory.cs has been updated to handle the new ignoreSslErrors parameter. The WebApiConnector object returned by the Create method now includes ignoreSslErrors as a parameter.
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
The most significant changes involve the addition of a new parameter
ignoreSslErrors
to theWebApiConnector
class,CreateWebApi
method, andWebApiConnectorFactory
class. This parameter allows the user to choose whether to ignore SSL errors or not.The
WebApiConnector
class inWebApiConnector.cs
has been updated to include a new parameterignoreSSLErros
in its constructor. This parameter is a boolean that, when set to true, will ignore SSL errors. IfignoreSSLErros
is set to true, a lambda function is set to theCertificateCallback
ofServerCertificateCallback
that always returns true, effectively ignoring any SSL errors.The
CreateWebApi
method inWebApiConnectorExtensions.cs
has been updated to include a new parameterignoreSslErrors
with a default value of false. TheParameters
property of theConnectorAdapter
object returned by the method has been updated to includeignoreSslErrors
.The
WebApiConnectorFactory
class inWebApiConnectorFactory.cs
has been updated to handle the newignoreSslErrors
parameter. TheWebApiConnector
object returned by theCreate
method now includesignoreSslErrors
as a parameter.Type of change
Please delete options that are not relevant.