Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Rooms Ask #19

Open
vulpes-ferrilata opened this issue Oct 28, 2019 · 1 comment
Open

[FEATURE REQUEST] Rooms Ask #19

vulpes-ferrilata opened this issue Oct 28, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@vulpes-ferrilata
Copy link

I've working around with Rooms and has a special case that need to call ask function with message's Room property.

For now, i could use connection's ask function but i think implement ask function for rooms would make a better structure.

At last, thank you for the nice library and framework.

@kataras kataras transferred this issue from kataras/neffos.js Nov 6, 2019
@kataras
Copy link
Owner

kataras commented Nov 6, 2019

Hello @MrSillyJester and thanks for your nice words, glad my libraries helps you!

So you want a Room#Ask method just like Conn#Ask and NSConn#Ask.

That can be done but it will not offer any feature that does not exist yet, internally it will call its room.NSConn.Conn.Ask (which you can send any neffos.Message) with the Room (and Namespace) fields pre-filled, just like NSConn.Ask does for the Namespace field, right?

@kataras kataras added the enhancement New feature or request label Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants