SocketPoxy v0.1.1 SocketProxy.Proxy View Source

This GenServer acts as an proxy between the socket and the test process. It forwars all Phoenix.Socket.Message and Phoenix.Socket.Broadcast messages it receives to a stored process along with a stored id.

Link to this section Summary

Functions

Returns the internal state of the proxy

Connects the proxy to a socket

Starts the Proxy

Subscribes the proxy to a channel

Link to this section Functions

Returns the internal state of the proxy.

Link to this function connect(pid, endpoint, handler, params) View Source

Connects the proxy to a socket.

Starts the Proxy.

Link to this function subscribe_and_join(pid, subscribe_and_join_args) View Source

Subscribes the proxy to a channel.