0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
Small, fast, modern HTTP server for Erlang/OTP.
Find a file
2022-07-25 02:47:50 -07:00
doc/src Cowboy 2.9.0 2021-05-12 10:24:40 +02:00
ebin Cowboy 2.9.0 2021-05-12 10:24:40 +02:00
examples Remove jQuery, cleanup Websocket example a bit 2020-05-23 11:00:17 +02:00
src AcceptCallback may now return created/see_other tuples for POST 2020-11-27 16:17:43 +01:00
test AcceptCallback may now return created/see_other tuples for POST 2020-11-27 16:17:43 +01:00
.gitattributes Convert the documentation to Asciidoc 2016-01-14 13:37:20 +01:00
.gitignore gitignore: add examples/ dependency files 2016-05-25 12:54:12 +02:00
CONTRIBUTING.asciidoc Document how to run all test suites 2018-11-20 13:28:48 +01:00
erlang.mk Cowboy 2.9.0 2021-05-12 10:24:40 +02:00
LICENSE Update LICENSE copyright year 2022-07-12 16:38:41 +02:00
Makefile Add Hex metadata 2021-05-12 12:04:03 +02:00
plugins.mk Document the commands based Websocket interface 2019-10-06 16:51:27 +02:00
README.asciidoc Translation into Simplified Chinese for Readme 2022-07-25 02:47:50 -07:00
rebar.config Cowlib 2.11.0 and Ranch 1.8.0 2021-04-24 16:31:14 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

= Cowboy

Cowboy是一个基于Erlang/OTP的简易快速及现代的HTTP服务器.

== 目标

Cowboy致力于用少量代码提供一个完整的HTTP堆栈.
使用二进制字符串针对“低延迟”和“低内存使用率”进行了优化.

Cowboy提供“路由”功能有选择地调度请求到用Erlang编写的处理程序.

因为它使用Ranch来管理连接所以Cowboy可以很容易地嵌入到任何其他应用程序中.

Cowboy是简介以及经过测试的Erlang代码.

== 在线文档

* https://ninenines.eu/docs/en/cowboy/2.6/guide[User guide]
* https://ninenines.eu/docs/en/cowboy/2.6/manual[Function reference]

== 离线文档

* 在线时, 运行 `make docs`
* PDF和HTML格式的用户指导在 `doc/`
* Function参考手册页可在 `doc/man3/` and `doc/man7/`
* 运行 `make install-docs` 以在你的系统上安装主页
* Asciidoc中的完整文档可在 `doc/src/`
* 示例在 `examples/`

== 获取帮助

* 官方IRC频道: #ninenines on irc.freenode.net
* https://github.com/ninenines/cowboy/issues[Issues tracker]
* https://ninenines.eu/services[Commercial Support]
* https://github.com/sponsors/essen[Sponsor me!]