Skip to content

Allow passthrough of the "loopback" flag.#56

Closed
ripfester wants to merge 1 commit intosocketio:masterfrom
ripfester:master
Closed

Allow passthrough of the "loopback" flag.#56
ripfester wants to merge 1 commit intosocketio:masterfrom
ripfester:master

Conversation

@ripfester
Copy link

This is required by socketio/socket.io#3235, so that the loopback flag is propagated through the adapter.

This works together with a change in socket.io, adding the "loopback"
flag to Namespace to allow messages to be emitted on the local
endpoint.
@chris-codaio
Copy link

Looks like this is necessary for the test in socketio/socket.io#3235 to pass. Can we get this pulled in?

@darrachequesne
Copy link
Member

My answer here: socketio/socket.io#3235 (comment)

@darrachequesne
Copy link
Member

For future readers: this was implemented with the serverSideEmit functionality.

Documentation: https://socket.io/docs/v4/server-api/#namespace-serverSideEmit-eventName-%E2%80%A6args-ack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants