Files
sm1.13-ripext/nghttp2/doc/nghttp2_option_set_no_http_messaging.rst
jenz 08c03ac533
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s
first commit
2026-09-13 22:18:11 +01:00

22 lines
769 B
ReStructuredText

nghttp2_option_set_no_http_messaging
====================================
Synopsis
--------
*#include <nghttp2/nghttp2.h>*
.. function:: void nghttp2_option_set_no_http_messaging(nghttp2_option *option, int val)
By default, nghttp2 library enforces subset of HTTP Messaging rules
described in `HTTP/2 specification, section 8
<https://tools.ietf.org/html/rfc7540#section-8>`_. See
:ref:`http-messaging` section for details. For those applications
who use nghttp2 library as non-HTTP use, give nonzero to *val* to
disable this enforcement. Please note that disabling this feature
does not change the fundamental client and server model of HTTP.
That is, even if the validation is disabled, only client can send
requests.