Class FinCommServiceHttp
A HttpClient based HTTP communication service implementation.
Inheritance
System.Object
FinCommServiceHttp
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinCommServiceHttp : IFinCommService
Constructors
FinCommServiceHttp()
Declaration
public FinCommServiceHttp()
Properties
CommAddress
Communication address as it was given to Connect(String, String, IFinFilter).
Declaration
public string CommAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
CommAddressSuffix
Communication address suffix is always returned as null
.
Declaration
public string CommAddressSuffix { get; }
Property Value
Type | Description |
---|---|
System.String |
IgnoreSSLErrors
If true
, then any SSL certificate errors should be ignored.
Declaration
public static bool IgnoreSSLErrors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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.
Declaration
public FinCommServiceState State { get; }
Property Value
Type | Description |
---|---|
FinCommServiceState |
Methods
Connect(String, String, IFinFilter)
Declaration
public void Connect(string sCommAddress, string sCommAddressSuffix, IFinFilter aFilter)
Parameters
Type | Name | Description |
---|---|---|
System.String | sCommAddress | |
System.String | sCommAddressSuffix | |
IFinFilter | aFilter |
CreateHttpClientHandler()
Factory method for HttpClientHandler instance. Can be overridden in order to provide another implementation. The default just returns the default constructed HttpClientHandler.
Declaration
protected virtual HttpClientHandler CreateHttpClientHandler()
Returns
Type | Description |
---|---|
System.Net.Http.HttpClientHandler |
Disconnect()
Logically disconnect.
Declaration
public void Disconnect()
SendReceive(FinDialog, FinMessageBuffer)
Declaration
public FinMessageBuffer SendReceive(FinDialog aDialog, FinMessageBuffer aReqBuf)
Parameters
Type | Name | Description |
---|---|---|
FinDialog | aDialog | |
FinMessageBuffer | aReqBuf |
Returns
Type | Description |
---|---|
FinMessageBuffer |