struct Athena::HTTP::Response::DirectWriter
inherits Athena::HTTP::Response::Writer
#
The default AHTTP::Response::Writer for an AHTTP::Response.
Writes directly to the output IO.
Methods#
#write(output : IO, & : IO -> Nil) : Nil#
Accepts an output IO that the content of the response should be written to.
The output IO is yielded directly.