case classOutputStreamResponse(out: (OutputStream) ⇒ Unit, size: Long, headers: List[(String, String)], cookies: List[HTTPCookie], code: Int) extends BasicResponse with Product with Serializable
Use this response to write your data directly to the response pipe. Along with StreamingResponse
you have an alternative to send data to the client.
Use this response to write your data directly to the response pipe. Along with StreamingResponse you have an alternative to send data to the client.