aboutsummaryrefslogtreecommitdiffstats
path: root/manual/cowboy_app.md
blob: 9fe316d3e83202fba46d01315ce4ce91dc0e1d6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
The Cowboy Application
======================

Small, fast, modular HTTP server.

Dependencies
------------

The `cowboy` application uses the Erlang applications `ranch`
for listening and accepting TCP connections, and `crypto`
for establishing Websocket connections. These dependencies must
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
`asn1`, `public_key` and `ssl` when listening for HTTPS connections.
These are started automatically if they weren't before.

Environment
-----------

The `cowboy` application does not define any application
environment configuration parameters.