mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
components/nghttp: just change format of nghttp.rst
preview will be better.
This commit is contained in:
parent
89bc31e158
commit
9eb29ab43e
@ -9,25 +9,25 @@ An HPACK encoder and decoder are available as a public API.
|
|||||||
|
|
||||||
- The nghttp support many different processor, but for the most part you only need the following functions:
|
- The nghttp support many different processor, but for the most part you only need the following functions:
|
||||||
|
|
||||||
*nghttp2_session_callbacks_new:* Initializes *callbacks_ptr with NULL values
|
**nghttp2_session_callbacks_new**: Initializes \*callbacks_ptr with NULL values
|
||||||
|
|
||||||
*nghttp2_session_client_new:* Initializes *session_ptr for client use
|
**nghttp2_session_client_new**: Initializes \*session_ptr for client use
|
||||||
|
|
||||||
*nghttp2_session_callbacks_del:* Frees any resources allocated for callbacks
|
**nghttp2_session_callbacks_del**: Frees any resources allocated for callbacks
|
||||||
|
|
||||||
*nghttp2_submit_settings:* Stores local settings and submits SETTINGS frame
|
**nghttp2_submit_settings**: Stores local settings and submits SETTINGS frame
|
||||||
|
|
||||||
*nghttp2_submit_request:* Submits HEADERS frame and optionally one or more DATA frames
|
**nghttp2_submit_request**: Submits HEADERS frame and optionally one or more DATA frames
|
||||||
|
|
||||||
*nghttp2_session_want_read:* Returns nonzero value if session wants to receive data from the remote peer
|
**nghttp2_session_want_read**: Returns nonzero value if session wants to receive data from the remote peer
|
||||||
|
|
||||||
*nghttp2_session_want_write:* Returns nonzero value if session wants to send data to the remote peer
|
**nghttp2_session_want_write**: Returns nonzero value if session wants to send data to the remote peer
|
||||||
|
|
||||||
*nghttp2_session_recv:* Receives frames from the remote peer
|
**nghttp2_session_recv**: Receives frames from the remote peer
|
||||||
|
|
||||||
*nghttp2_session_send:* Sends pending frames to the remote peer
|
**nghttp2_session_send**: Sends pending frames to the remote peer
|
||||||
|
|
||||||
*nghttp2_session_del:* Frees any resources allocated for session
|
**nghttp2_session_del**: Frees any resources allocated for session
|
||||||
|
|
||||||
If you are following TLS related RFC, you know that NPN is not the standardized way to negotiate HTTP/2. NPN itself is not even published as RFC.
|
If you are following TLS related RFC, you know that NPN is not the standardized way to negotiate HTTP/2. NPN itself is not even published as RFC.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user