没有合适的资源?快使用搜索试试~ 我知道了~
angelo:支持WebSocket和SSE的类似Sinatra的Reel DSL for Reel
共78个文件
rb:36个
erb:14个
public:4个
需积分: 9 0 下载量 5 浏览量
2021-02-01
01:23:45
上传
评论
收藏 498KB ZIP 举报
温馨提示
安杰洛 用于的DSL。 tl; dr 通过websocket('/path'){|s| ... }通过websocket支持websocket('/path'){|s| ... }路线建造者 通过eventsource('/path'){|s| ... }支持SSE eventsource('/path'){|s| ... }路线建造者 上下文的WebSocket / SSE通过积攒websockets和sses助手 通过async和future助手处理task 没有架子 erb,halm和markdown支持 穆斯特曼支持 什么是安杰洛? 就像Sinatra一样,Angelo为您提供了用于创建Web应用程序的富有表现力的DSL。 两者之间有一些显着的差异,但基本原理保持不变:您可以通过要求“ angelo / main”并在脚本的顶层使用DSL来创建“经典”应用程序,或者通过要求“ angelo',将Angelo::Base子类化,然后调用.run! 在该类上启动服务。 此外,也许更重要的是, Angelo基于Reel构建,而Reel基于Celluloid :: IO构建,并
资源推荐
资源详情
资源评论
收起资源包目录
angelo-master.zip (78个子文件)
angelo-master
.gitignore 44B
.travis.yml 93B
code_of_conduct.md 2KB
LICENSE 562B
CHANGELOG.md 8KB
README.md 20KB
example
templates
public 31B
views 30B
templates.rb 781B
foo
views
layout.html.erb 202B
index.html.erb 1KB
foo.rb 2KB
cascrb
casc.rb 184B
sse.rb 489B
public
sse.html 605B
ws.html 611B
prof
prof.rb 188B
bar
public 31B
views
layout.html.erb 258B
index.html.erb 23B
bar.rb 3KB
chunk
chunk.rb 417B
public 31B
views
layout.html.erb 258B
index.html.erb 23B
longjob
public
longjob.html 232B
what.png 183KB
test.css 116B
jquery-1.7.1.min.js 92KB
longjob.rb 2KB
Gemfile 133B
Gemfile.lock 1020B
heroku
README.md 68B
error
public 31B
error.rb 793B
views
layout.html.erb 258B
index.html.erb 743B
lib
angelo
minitest
helpers.rb 5KB
base.rb 11KB
responder.rb 5KB
templates.rb 5KB
version.rb 38B
params_parser.rb 2KB
server.rb 3KB
tilt
erb.rb 1KB
main.rb 1KB
responder
websocket.rb 1KB
eventsource.rb 1KB
stash.rb 3KB
angelo.rb 3KB
angelo.gemspec 1KB
Gemfile 192B
Rakefile 136B
test
angelo_spec.rb 13KB
angelo
stash_spec.rb 1KB
websocket_spec.rb 8KB
static_spec.rb 4KB
options_spec.rb 385B
params_spec.rb 3KB
mustermann_spec.rb 4KB
eventsource_spec.rb 3KB
filter_spec.rb 6KB
error_spec.rb 6KB
erb_spec.rb 7KB
test_app_root
public
test.html 26B
what.png 183KB
test.css 116B
jquery-1.7.1.min.js 92KB
test.js 49B
views
index.json.erb 46B
layout.html.erb 119B
index.js.erb 49B
layout.js.erb 35B
index.xml.erb 40B
index.html.erb 43B
spec_helper.rb 1KB
main
main_spec.rb 3KB
app.rb 834B
共 78 条
- 1
资源评论
Mia不大听话
- 粉丝: 18
- 资源: 4592
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功