class RenderStreaming::BasicController

Public Instance Methods

explicit() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 32
def explicit
  render action: "hello_world", stream: true
end
explicit_cache() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 40
def explicit_cache
  headers["Cache-Control"] = "private"
  render action: "hello_world", stream: true
end
hello_world() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 16
def hello_world
  render stream: true
end
layout_exception() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 20
def layout_exception
  render action: "hello_world", stream: true, layout: "boom"
end
no_layout() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 36
def no_layout
  render action: "hello_world", stream: true, layout: false
end
skip() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 28
def skip
  render action: "hello_world", stream: false
end
template_exception() click to toggle source
# File actionpack/test/controller/new_base/render_streaming_test.rb, line 24
def template_exception
  render action: "boom", stream: true
end