2014-07-06 13:10:35 +02:00
|
|
|
::: The Cowboy Application
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
Small, fast, modular HTTP server.
|
|
|
|
|
2014-07-06 13:10:35 +02:00
|
|
|
:: Dependencies
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
The `cowboy` application uses the Erlang applications `ranch`
|
2013-11-26 21:13:43 +01:00
|
|
|
for listening and accepting TCP connections, `crypto` for
|
|
|
|
establishing Websocket connections, and `cowlib` for parsing and
|
|
|
|
building messages for Web protocols. These dependencies must
|
2013-05-17 13:13:27 +02:00
|
|
|
be loaded for the `cowboy` application to work. In an embedded
|
|
|
|
environment this means that they need to be started with the
|
|
|
|
`application:start/{1,2}` function before the `cowboy`
|
|
|
|
application is started.
|
|
|
|
|
|
|
|
The `cowboy` application also uses the Erlang applications
|
2013-06-20 15:24:36 +02:00
|
|
|
`asn1`, `public_key` and `ssl` when listening for HTTPS connections.
|
2013-05-17 13:13:27 +02:00
|
|
|
These are started automatically if they weren't before.
|
|
|
|
|
2014-07-06 13:10:35 +02:00
|
|
|
:: Environment
|
2013-05-17 13:13:27 +02:00
|
|
|
|
|
|
|
The `cowboy` application does not define any application
|
|
|
|
environment configuration parameters.
|