Phoenix.SocketClient.Transports.Websocket (phoenix_socket_client v0.8.0)

View Source

WebSocket transport implementation using the http_web_socket library.

Provides WebSocket connectivity for Phoenix Socket Client using the HTTP.WebSocket API as the underlying transport mechanism.

Summary

Functions

close(socket)

Callback implementation for Phoenix.SocketClient.Transport.close/1.

open(url, transport_opts)

Callback implementation for Phoenix.SocketClient.Transport.open/2.