ace v0.6.0 Ace.TCP.Endpoint

Starting the combination of socket, governors and server supervisor.

Endpoints are started with a fixed pool of governors under the Ace.TCP.Governor.Supervisor. The number of governors is equal to the maximum number of servers that can be accepting new connections.

Summary

Functions

Start a new endpoint with the app behaviour

Functions

start_link(app, opts)

Start a new endpoint with the app behaviour.

## Options

  • :port - the port to run the server on. Defaults to port 8080.