Ace.HTTP.Worker (ace v0.19.0) View Source
Run a Raxx application in isolation to handle a single HTTP exchange.
- The application consists of a behaviour module and initial state.
- An HTTP exchange is a single response to a single request.
See Raxx.Server
for details on implementing a valid module.
A worker must be started for each message sent. Even if messages are sent on a single connection, e.g. HTTP pipelining or HTTP/2 streams.
Link to this section Summary
Functions
Start a new worker linked to the calling process.
Link to this section Functions
Specs
start_link(application(), Ace.HTTP.Channel.t()) :: GenServer.on_start()
Start a new worker linked to the calling process.