Starship.Handler.Wildcard.Websocket (Starship v0.0.1) View Source

A simple wildcard handler for Websocket Requests that always sends "Returning: " followed by the text that is sent to the socket.

Link to this section Summary

Link to this section Functions

Specs

connect(Starship.Reactor.Conn.t(), map()) :: {:ok, map()} | :reject

Callback implementation for Starship.Handlers.Websocket.connect/2.