Imported Upstream version 1.0.0
[platform/upstream/nghttp2.git] / doc / nghttp2_option_set_no_http_messaging.rst
1
2 nghttp2_option_set_no_http_messaging
3 ====================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: void nghttp2_option_set_no_http_messaging(nghttp2_option *option, int val)
11
12     
13     By default, nghttp2 library enforces subset of HTTP Messaging rules
14     described in `HTTP/2 specification, section 8
15     <https://tools.ietf.org/html/rfc7540#section-8>`_.  See
16     :ref:`http-messaging` section for details.  For those applications
17     who use nghttp2 library as non-HTTP use, give nonzero to *val* to
18     disable this enforcement.