aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/introduction.ezdoc
blob: 18345df1e14eae1bde666e45e3562234525f042d (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
::: Introduction

Cowboy is a small, fast and modular HTTP server written in Erlang.

Cowboy aims to provide a complete HTTP stack, including its derivatives
SPDY, Websocket and REST. Cowboy currently supports HTTP/1.0, HTTP/1.1,
Websocket (all implemented drafts + standard) and Webmachine-based REST.

Cowboy is a high quality project. It has a small code base, is very
efficient (both in latency and memory use) and can easily be embedded
in another application.

Cowboy is clean Erlang code. It includes hundreds of tests and its code
is fully compliant with the Dialyzer. It is also well documented and
features both a Function Reference and a User Guide.

:: Prerequisites

No Erlang knowledge is required for reading this guide. The reader will
be introduced to Erlang concepts and redirected to reference material
whenever necessary.

Knowledge of the HTTP protocol is recommended but not required, as it
will be detailed throughout the guide.

:: Supported platforms

Cowboy is tested and supported on Linux.

Cowboy has been reported to work on other platforms, but we make no
guarantee that the experience will be safe and smooth. You are advised
to perform the necessary testing and security audits prior to deploying
on other platforms.

Cowboy is developed for Erlang/OTP R16B01, R16B02, R16B03-1, 17.0 and
17.1.2.

Cowboy may be compiled on other Erlang versions with small source code
modifications but there is no guarantee that it will work as expected.

:: Versioning

Cowboy uses ^"Semantic Versioning 2.0.0^http://semver.org/^.

:: Conventions

In the HTTP protocol, the method name is case sensitive. All standard
method names are uppercase.

Header names are case insensitive. Cowboy converts all the request
header names to lowercase, and expects your application to provide
lowercase header names in the response.

The same applies to any other case insensitive value.