tetsis / SignalRGuy

Home Page:https://signalrguy.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SignalR Guy

Vercel

What is "SignalR Guy"

SignalR Guy is a tool for testing the operation of SignalR servers. You can check if the SignalR server you are developing sends and receives messages as expected.

You can use in here.

Get started

I have prepared SignalR hub server for tutorial. You can get started without own server.

How to use tutorial is bellow.

  1. Access to web site
  2. Header -> "Actions" -> "Appliy tutorial values"
  3. Click "Connect" button
  4. Wait until changing button to "Disconnect"
  5. Click "Send" buttons
  6. You can see receiving data from server.

Source code of tutorial server

How to use

  1. Input the URL of SignalR hub endpoint.
  2. Define send methods and receive methods.
  3. Connect to server to click "Connect" button.
  4. Send messages to click "Send" buttons.
  5. Check receiving messages.

Sections

URL

In the top text box, input the URL of SignalR Hub. Click the "Connect" button to connect to hub.

Send Methods

In this section, you define methods that client sends to server. "SendMessage" in the following function is applicable.

public Task SendMessage(string message)
{
    return Clients.Caller.SendAsync("ReceiveMessage", message);
}

Receive Methods

In this section, you define methods that client receives from server. "Pong" in the following function is applicable.

public Task Ping()
{
    return Clients.Caller.SendAsync("Pong");
}

Logs

The results of sending and receiving will be saved here.

About

https://signalrguy.vercel.app


Languages

Language:JavaScript 93.0%Language:HTML 4.2%Language:CSS 2.7%