doc: Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2018-08-23 11:01:12 +09:00
parent 32d7883c47
commit de4fd7cd35
1 changed files with 3 additions and 3 deletions

View File

@ -548,10 +548,10 @@ respectively.
not be invoked. When this method is called in response phase not be invoked. When this method is called in response phase
hook, response from backend server is canceled and discarded. hook, response from backend server is canceled and discarded.
The status code and response header fields should be set The status code and response header fields should be set
before using this method. To set status code, use :rb:meth To before using this method. To set status code, use
set response header fields, use
:rb:attr:`Nghttpx::Response#status`. If status code is not :rb:attr:`Nghttpx::Response#status`. If status code is not
set, 200 is used. :rb:meth:`Nghttpx::Response#add_header` and set, 200 is used. To set response header fields,
:rb:meth:`Nghttpx::Response#add_header` and
:rb:meth:`Nghttpx::Response#set_header`. When this method is :rb:meth:`Nghttpx::Response#set_header`. When this method is
invoked in response phase hook, the response headers are invoked in response phase hook, the response headers are
filled with the ones received from backend server. To send filled with the ones received from backend server. To send