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

New Doc: Reply.md #17

Merged
merged 1 commit into from
Jul 3, 2018
Merged

New Doc: Reply.md #17

merged 1 commit into from
Jul 3, 2018

Conversation

fralonra
Copy link
Member

No description provided.

@fralonra fralonra requested a review from vincent178 June 29, 2018 23:41
docs/Reply.md Outdated
- `.serializer(function)` - 设置自定义的 payload 序列化工具。
- `.send(payload)` - 向用户发送 payload。类型可以是纯文本、bufferJSONstream,或一个 Error 对象。
- `.sent` - 一个 boolean,检查 `send` 是否已被调用。
- `.res` - Node 核心的 [`http.ServerResponse`](https://nodejs.org/dist/latest/docs/api/http.html#http_class_http_serverresponse) 对象。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这边翻译成原生的是不是好一点

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢,已更新

@fralonra fralonra merged commit 59a2553 into fastify:master Jul 3, 2018
@fralonra fralonra mentioned this pull request Jul 6, 2018
21 tasks
@fralonra fralonra deleted the reply branch August 27, 2018 12:56
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

2 participants