Class FinCommServiceHttp
A HttpClient based HTTP communication service implementation.
public class FinCommServiceHttp : IFinCommService
- Inheritance
-
FinCommServiceHttp
- Implements
- Inherited Members
Constructors
FinCommServiceHttp()
public FinCommServiceHttp()
Properties
CommAddress
Communication address as it was given to Connect(string, string, IFinFilter).
public string CommAddress { get; }
Property Value
CommAddressSuffix
Communication address suffix is always returned as null
.
public string CommAddressSuffix { get; }
Property Value
IgnoreSSLErrors
If true
, then any SSL certificate errors should be ignored.
public static bool IgnoreSSLErrors { get; set; }
Property Value
Remarks
This must be set before the very the first instance of this class is created. Any attempt to set it later will be ignored.
State
Returns the current state of this transport instance.
public FinCommServiceState State { get; }
Property Value
Methods
Connect(string, string, IFinFilter)
public void Connect(string sCommAddress, string sCommAddressSuffix, IFinFilter aFilter)
Parameters
sCommAddress
stringsCommAddressSuffix
stringaFilter
IFinFilter
CreateHttpClientHandler()
Factory method for HttpClientHandler instance. Can be overridden in order to provide another implementation. The default just returns the default constructed HttpClientHandler.
protected virtual HttpClientHandler CreateHttpClientHandler()
Returns
Disconnect()
Logically disconnect.
public void Disconnect()
SendReceive(FinDialog, FinMessageBuffer)
public FinMessageBuffer SendReceive(FinDialog aDialog, FinMessageBuffer aReqBuf)
Parameters
aDialog
FinDialogaReqBuf
FinMessageBuffer