SignalRCore Client Command Line Application for Windows, OSX and Linux

SignalRCore Client Commands

Fully Featured Application

ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly.

Good candidates for SignalR

Apps that require high frequency updates from the server. Examples are gaming, social networks, voting, auction, maps, and GPS apps.

Methods supported

Client component supports Invocations, Stream Invocations, Completion Result, HeartBeat, Handle Errors, Hubs...

Easy to use

Siimple but very powerful.

SignalRCore Client Win32

SignalRCore Client Win32
SignalRCore Client Win32

SignalRCore Client Win64

SignalRCore Client Win64
SignalRCore Client Win64

SignalRCore Client OSX64

SignalRCore Client OSX64
SignalRCore Client OSX64

SignalRCore Client OSXARM64

SignalRCore Client OSXARM64
SignalRCore Client OSXARM64

SignalRCore Client Linux64

SignalRCore Client Linux64
SignalRCore Client Linux64

How Open a new SignalRCore Connection

Example: open a websocket connection to SignalRCore server with "/ChatHub" chat

{"message":"options", "protocol": "signalrcore", "params":{"hub": "/ChatHub"}}

{"message":"open", "params":{"url": "ws://www.esegece.com:5000"}}

How call an invocation

Example: invoke "SendMessage" method

{"message":"invoke", "protocol": "signalrcore", "params":{"target": "SendMessage", "arguments":["John", "My First Message"]}}

 

How call Invoke Stream

Example: call method "Counter" and pass arguments 10, 50

{"message":"invokestream", "protocol": "signalrcore", "params":{"target": "Counter", "arguments":[10, 50], id="1"}}

Example: close connection

{"message":"close", "protocol": "signalrcore", "params":{"reason": "Error Processing Data"}}

 

TCP Server

All console applications can run an internal TCP Server that allows to send and receive commands as if were written directly on the console application.

Just start the application with the command -server and a new server will be started listening on port 8080. Example: if you want enable the server on WebSocket client, start the console application as follows:

sgcWebSocketClient.exe -server

Find below the full TCP Server parameters:

-server: starts the internal server on port 8080

-server.port: sets the listening port

-server.ip: sets the binding ip (useful if there are multiple ips).

If the server is enabled, a client connected to this server can send any JSON message and will receive any response as if was written directly from console application.

Example: if you want enable server on IP 192.168.1.1 and Port 5412

sgcWebSocketClient.exe -server -server.ip 192.168.1.1 -server.port 5412