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

Listening for specific events #7

@Jameskmonger

Description

@Jameskmonger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions