Skip to content

How do I implement custom messages, just like websockets #633

Description

@willjayyyy

I have a requirement that the client only sends data to the server, and the server can freely choose who to push messages to, just like a native websocket. The purpose of doing so is to send authentication information to the server, and the server can return the permissions I have, such as read-only. I know this can be achieved using websocket, but I hope to directly access agent.custom during the authentication process and bind the permission information to it.

Activity

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

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