class EventMachine::Connection
def stream_file_data filename, args={}
-
(EventMachine::Deferrable)-
Parameters:
-
args(Hash) -- Options -
filename(String) -- Local path of the file to stream
Options Hash:
(**args)-
:http_chunks(Boolean) -- If true, this method will stream the file data in a format
def stream_file_data filename, args={} EventMachine::FileStreamer.new( self, filename, args ) end