This creates a new client to a new server connection. This is the remote side in which we will connect. Then using the createConnection method, you establish a connection to the port.
Optional
props: ClientOptionsConnect to a listener to a specified port.
This individual port connections which can override the main server connection properties. Some properties from the server build could be defaulted if not specified here.
The function that the client will process if and when they get a response from the server. It follows an async/await function.
const outGoing = client.createOutbound({port: 3000}, async (res: InboundResponse) => {})
Review the InboundResponse on the properties returned.
Client Class
Remarks
The main class that starts a client connection to a valid HL7 TCP/MLLP specified server.
Since
1.0.0