Skip to content

How to create websocket server endpoints? #113

@ccnlui

Description

@ccnlui

How would you implement a server endpoint?

For example, client would connect to ws://localhost:8080/myendpoint, instead of just ws://localhost:8080.

I assumed I'd have to implement this function myself inside onSessionConnected, but the Session object doesn't seem to provide any information on the client's request, I was hoping to be able to get the request's path/endpoint/query etc...

How can this be done?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions