sgcWebSockets 4.1.5

With sgcWebSockets 4.1.5 we introduce APIs. There are several implementations based on WebSockets: finance, message publishing, queues... sgcWebSockets implements the most important APIs based on WebSocket protocol. In order to use an API, just attach API component to client and all messages will be handled by API component (only one API component can be attached to a client).

 List of New APIs:

1. Blockchain: Blockchain WebSocket API allows developers to receive Real-Time notifications about new transactions and blocks.

2. Bitfinex: Bitfinex is one of the world's largest and most advanced cryptocurrency trading platform. Users can exchange Bitcoin, Ethereum, Ripple, EOS, Bitcoin Cash, Iota, NEO, Litecoin, Ethereum Classic...

3. Pusher: Pusher is an easy and realiable platform with flexible pub/sub messaging, live user lists, authentication...

APIs can be registered at runtime, just call Method RegisterAPI and pass API component as parameter.

 

Full List of changes:

 [+] : New Component TsgcWSAPI_Bitfinex, Bitfinex is one of the world's largest and most advanced cryptocurrency trading platform. Users can exchange Bitcoin, Ethereum, Ripple, EOS, Bitcoin Cash, Iota, NEO, Litecoin, Ethereum Classic...

 [+] : New Component TsgcWSAPI_Blockchain, Blockchain WebSocket API allows developers to receive Real-Time notifications about new transactions and blocks.

 [+] : New Component TsgcWSAPI_Pusher, Pusher is an easy and realiable platform with flexible pub/sub messaging, live user lists, authentication...

 [+] : New property "URL" in client components, read url and automatically set host, port, tls, parameters...

 [+] : New property "Parameters" in TsgcIWWebSocketClient, allows to set a parameter in url.

 

 [*] : Fixed Bug in Internet Explorer 8 using Flash as Fallback, error: "this.transport.indexOf" not supported.

 [*] : Fixed Bug WriteData as Text when RFC6455 Specification is False.

 [*] : Fixed Bug in ProtocolRegistered function when more than one protocol is supported by a single protocol.

 [*] : Fixed Bug "Constant expression violates subrange bounds" in sgcWebSocket_HTTPAPI_Server unit compiling for 64bits.

 [*] : Fixed Bug in sgcWebSockets.dll, error event was not raised if there was any error before a succesful connection.

 [*] : Fixed Bug ClientTest demo trying to connect to echo.websocket.org TLS

 [*] : Fixed Bug using sgcWebSocketLib.pas with Delphi 7.

 [*] : Fixed Bug RegisterProtocol with Broker component.

 [*] : Fixed Bug in TsgcWebSocketClient when WatchDog enabled and notifyEvents = neNoSync.