Skip to content

[warning] unhandled message %{"type" => "pong"}  #29

@michaelcaterisano

Description

@michaelcaterisano

I'm seeing [warning] unhandled message %{"type" => "pong"} in the console. I wouldn't expect my client (Apollo Client) to be sending a pong message, but I guess it is? Would it make sense to add a handle_inbound clause to handle pong messages, and if so what should its return value be? I was thinking the following would be appropriate.

def handle_inbound(%{"type" => "pong"}, socket), do: {:ok, socket}

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