发布于 2017-10-05 15:30:10 | 161 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Cowboy 模块化的http服务器

cowboy是一个application,是一个小巧快速的良好模块化的http server。其中良好的clean module使得我们可以扩展到多种网络协议之中,cowboy自带的有tcp和ssl,而也有一些人提供了smtp等的扩展。


Cowboy 2.0.0 发布,Cowboy 是一个小巧快速的良好模块化的  HTTP Server 。其中良好的 clean module 使得我们可以扩展到多种网络协议之中,cowboy 自带的有 tcp 和 ssl ,而也有一些人提供了 smtp 等的扩展。

Cowboy是 Erlang / OTP 的 HTTP 服务器,支持 HTTP / 1.1、HTTP / 2 和 Websocket 协议。

Modules

Functions:

Protocols:

Handlers:

Behaviors:

Middlewares:

Dependencies

  • ranch(7) - Socket acceptor pool for TCP protocols

  • cowlib(7) - Support library for manipulating Web protocols

  • ssl - Secure communication over sockets

  • crypto - Crypto functions

All these applications must be started before the cowboy application. To start Cowboy and all dependencies at once:

{ok, _} = application:ensure_all_started(cowboy).

Environment

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

下载地址:



历史版本 :
Cowboy 2.0.0 发布,模块化的 HTTP 服务器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务