20 lines
496 B
ReStructuredText
20 lines
496 B
ReStructuredText
API Reference
|
|
=============
|
|
|
|
Includes
|
|
--------
|
|
|
|
To use the public APIs, include ``nghttp2/nghttp2.h``::
|
|
|
|
#include <nghttp2/nghttp2.h>
|
|
|
|
Remarks
|
|
-------
|
|
|
|
Do not call `nghttp2_session_send`, `nghttp2_session_recv` or
|
|
`nghttp2_session_mem_recv` from the nghttp2 callback functions
|
|
directly or indirectly. It will lead to the crash. You can submit
|
|
requests or frames in the callbacks then call `nghttp2_session_send`,
|
|
`nghttp2_session_recv` or `nghttp2_session_mem_recv` outside of the
|
|
callbacks.
|