Skip to content

Channel EventHandlers #4

@elrhomariyounes

Description

@elrhomariyounes

Feature request

Is your feature request related to a problem? Please describe.

Hello, I saw on the js repo that the Channel also has Event Handlers like OnError and OnClose also in the Push object has a Receive method that take a string parameter I think is the event name and a callback

Describe the solution you'd like

  • OnError invoked if the socket connection drops, or the channel crashes on the server try to rejoin
  • OnClose invoked if the channel explicitly closed on the server or closed by the client

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions