Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Listening for specific events #7

Open
Jameskmonger opened this issue Aug 21, 2019 · 1 comment
Open

Listening for specific events #7

Jameskmonger opened this issue Aug 21, 2019 · 1 comment

Comments

@Jameskmonger
Copy link

How can I listen for a socket event?

I want to do something like this:

socket.On("hi", (data) =>
	{
		Console.WriteLine(data);
		socket.Disconnect();
	});

I can't find any docs about this and I'm not sure if it's supported from reading the code.

@PePoDev
Copy link

PePoDev commented Oct 10, 2019

Me too.
Where is the docs for this repo ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants