Created
January 28, 2021 13:24
-
-
Save karlosmid/59f505589c39c45f53c48cfdcf86c00a to your computer and use it in GitHub Desktop.
Connect elm application with Websocket server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port module WebSocket exposing (listen, receive) | |
port listen : String -> Cmd msg | |
port receive : (String -> msg) -> Sub msg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment