nghttp2_rcbuf_is_static

Synopsis

#include <nghttp2v2/nghttp2.h>

int nghttp2_rcbuf_is_static(const nghttp2_rcbuf *rcbuf)

nghttp2_rcbuf_is_static() returns nonzero if the underlying buffer is statically allocated, and 0 otherwise. This can be useful for language bindings that wish to avoid creating duplicate strings for these buffers.