nghttp2/doc/apiref-header.rst

22 lines
547 B
ReStructuredText
Raw Normal View History

API Reference
=============
Includes
--------
2013-07-12 17:19:03 +02:00
To use the public APIs, include ``nghttp2/nghttp2.h``::
2013-07-12 17:19:03 +02:00
#include <nghttp2/nghttp2.h>
The header files are also available online: :doc:`nghttp2.h` and
:doc:`nghttp2ver.h`.
Remarks
-------
Do not call `nghttp2_session_send`, `nghttp2_session_mem_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
these functions outside the callbacks.