Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: return file as response #154

Closed
wants to merge 9 commits into from

Conversation

vkagamlyk
Copy link

This feature consists of 2 parts:

  1. @produces decorator to set content type of response. Supported only 1 value.
    Usage example: @produces('text/html; charset=utf-8')
  2. Return file as response.
    Usage example:
    const result = new FileResult();
    result.data = 'Readable stream or any type supported by response.send()';

@egandro
Copy link
Contributor

egandro commented Feb 7, 2018

Oh again here. This is also on my Todo List.

@vkagamlyk is it ok for you to take your code and fix it for the current release?

@ryo-nbx ryo-nbx mentioned this pull request May 30, 2018
@dgreene1
Copy link
Collaborator

I think @vkagamlyk is no longer interested in this and someone else picked it up in #228 so we’ll track it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants