module Sinatra::Async
Monkey patch async to add some more methods
Public Instance Methods
alink(path, opts = {}, &bk)
click to toggle source
# File lib/genesis/protocol/http/async_monkeypatch.rb, line 11 def alink(path, opts = {}, &bk) aroute('LINK', path, opts, &bk) end
apatch(path, opts = {}, &bk)
click to toggle source
# File lib/genesis/protocol/http/async_monkeypatch.rb, line 7 def apatch(path, opts = {}, &bk) aroute('PATCH', path, opts, &bk) end
aunlink(path, opts = {}, &bk)
click to toggle source
# File lib/genesis/protocol/http/async_monkeypatch.rb, line 15 def aunlink(path, opts = {}, &bk) aroute('UNLINK', path, opts, &bk) end