amritb / socketio-client-tool Goto Github PK
View Code? Open in Web Editor NEWThis tool helps you to test socket.io servers.
Home Page: http://amritb.github.io/socketio-client-tool/
This tool helps you to test socket.io servers.
Home Page: http://amritb.github.io/socketio-client-tool/
Hello can i have more information about the tab Emiting AckRes ?
What is the interest? How is working?
Thanks !
Greetings,
Lately I've been having a problem duplicating values in your software
Each time you refresh the page it duplicates the values that exist in the Listen category
In addition, I also use the nodemon plugin which also causes the values to be duplicated because it restarts the session every time I save my project code
I would love to get help with the problem ❤
Thanks in advance
I cant seem to have my server listening on a custom port and be able to connect using the tool
Does the tool support events emitted or listened with multiple parameters? I don't seem to be able to send 4 different parameters. It transmits as a single string.
To add the Server URL
to the stored in the object that is base64 encoded into a string in the browser URL bar.
Hi @amritb, thanks for this tool!
We're going to add a quick Dockerfile for our uses. Created this issue for tracking, or to see if it was desired/undesired.
Would you like us to open a PR?
I need to attach an 'x-access-token' to the header for authentication. How do I achieve this?
How can I connect socketio server with header. in your socketio client
It might be better if it supports chain JSON such as
{
"id" : "AAAA",
"data": {
"some_bool": true
}
}
I tried to emit a JSON with value type as integer. but it ends up sending as string. Any way to emit as integer type only?
Expected:
{
"num": 7
}
Actual:
{
"num":"7" // string type
}
Can some one help me with this ?
I just downloaded the zip of your tool, installed it by npm install, then run with npm start. But could not get any response, though there is some activity in the commandline window.
E:\socketio-client-tool-gh-pages ([email protected])
λ npm start -- -p 8099
> [email protected] start E:\socketio-client-tool-gh-pages
> http-server "-p" "8099"
Starting up http-server, serving ./
Available on:
http://192.168.43.89:8099
http://127.0.0.1:8099
Hit CTRL-C to stop the server
http://127.0.0.1:8099[Mon Apr 06 2020 08:17:26 GMT+0300 (East Africa Time)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefo
x/74.0"
[Mon Apr 06 2020 08:18:24 GMT+0300 (East Africa Time)] "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3
987.163 Safari/537.36"
[Mon Apr 06 2020 08:19:17 GMT+0300 (East Africa Time)] "GET /" "PostmanRuntime/7.24.0"
[Mon Apr 06 2020 08:19:31 GMT+0300 (East Africa Time)] "GET /" "PostmanRuntime/7.24.0"
> http://127.0.0.1:8099
I have cloned this project in to my windows 10 machine, Install all dependencies using npm install. No error every thing runs smoothly. nmp run also has no errors. But when i open the URL from browser. it show network protocol violation error.
Oops.
The site at http://192.168.100.10:8081/ has experienced a network protocol violation that cannot be repaired.
The page you are trying to view cannot be shown because an error in the data transmission was detected.
Please contact the website owners to inform them of this problem.
Hi
As much I have seen the code takes everything as a string in JSON format whereas in some cases we need to pass boolean & numbers as well.
After a reconnect , the emitter stay not connected :/ , and i have to reload the page
Hi
before every thing thanks for nice and cool tool
in past i use this tools and run without any problems
today i latest pull docker and try to run it but i can't
socketio_dev_1 | up to date in 3.77s
socketio_dev_1 | found 0 vulnerabilities
socketio_dev_1 |
socketio_dev_1 | npm ERR! code ENOENT
socketio_dev_1 | npm ERR! syscall open
socketio_dev_1 | npm ERR! path /app/package.json
socketio_dev_1 | npm ERR! errno -2
socketio_dev_1 | npm ERR! enoent ENOENT: no such file or directory, open '/app/package.json'
socketio_dev_1 | npm ERR! enoent This is related to npm not being able to find a file.
socketio_dev_1 | npm ERR! enoent
socketio_dev_1 |
socketio_dev_1 | npm ERR! A complete log of this run can be found in:
socketio_dev_1 | npm ERR! /root/.npm/_logs/2020-12-30T05_37_11_176Z-debug.log
app-v1-real_socketio_dev_1 exited with code 254
socketio_dev:
image: amritb/socketio-client-tool
ports:
- 8080:8080
Hello
I set the url correctly.
I receive the connections on server side.
I see the responses on the browser console.
But it stays in "Connecting..." state indefinitely.
It seems like the app emits an empty string as an argument even though the field is empty. It would be better if there was a way to emit events with no arguments
first, thanks for your great work
i just want to know how this work?
how can this apps conenct with my own localhost socket.io
i do access this repo directly from internet from http://amritb.github.io/socketio-client-tool/
how can this know my ip since i enter the localhost url
How to connect to socket server with namespace in it?
Example url : http://localhost:8080/namespace
Hi there
I liked the socketio-client-tool, it is pretty useful and reduces my efforts for testing connections.
But I faced some issues while using this tool with nodemon, it doesn't respond if the nodemon re-builds my project.
I think this issue is because when socket connection closes/restarts with the server, UI stops responding.
It would be great if this issue gets resolved.
The options field doesn't work as it should. When I pass extraHeaders
with Auhrorization token, my server is unable to pick this. It seems as if these options are not sent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.