Updated doc

This commit is contained in:
Tatsuhiro Tsujikawa 2012-08-22 01:11:10 +09:00
parent bafcbfde88
commit c28b731ef0
1 changed files with 5 additions and 4 deletions

View File

@ -1718,8 +1718,9 @@ int spdylay_submit_response(spdylay_session *session,
* If |flags| includes :enum:`SPDYLAY_CTRL_FLAG_FIN`, this frame has * If |flags| includes :enum:`SPDYLAY_CTRL_FLAG_FIN`, this frame has
* FLAG_FIN flag set. * FLAG_FIN flag set.
* *
* The |assoc_stream_id| is used for server-push. If |session| is * The |assoc_stream_id| is used for server-push. Specify 0 if this
* initialized for client use, |assoc_stream_id| is ignored. * stream is not server-push. If |session| is initialized for client
* use, |assoc_stream_id| is ignored.
* *
* The |pri| is priority of this request. 0 is the highest priority * The |pri| is priority of this request. 0 is the highest priority
* value. Use `spdylay_session_get_pri_lowest()` to know the lowest * value. Use `spdylay_session_get_pri_lowest()` to know the lowest
@ -1745,8 +1746,8 @@ int spdylay_submit_response(spdylay_session *session,
* negative error codes: * negative error codes:
* *
* :enum:`SPDYLAY_ERR_INVALID_ARGUMENT` * :enum:`SPDYLAY_ERR_INVALID_ARGUMENT`
* The |pri| is invalid; or the Associated-To-Stream-ID is * The |pri| is invalid; or the |assoc_stream_id| is invalid; or
* invalid; or the |nv| includes empty name or NULL value. * the |nv| includes empty name or NULL value.
* :enum:`SPDYLAY_ERR_NOMEM` * :enum:`SPDYLAY_ERR_NOMEM`
* Out of memory. * Out of memory.
*/ */