0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00
cowboy/manual/cowboy_app.md
Loïc Hoguin 666c59bc42 Add the Cowboy Function Reference
The manual details every stable public functions of Cowboy.
2013-05-17 13:13:27 +02:00

25 lines
794 B
Markdown

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
`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.