Internal state when receiving incoming frame
Configuration options
Returns true if the RV library error code |lib_error| is fatal.
@function
A helper function for dealing with NPN in client side or ALPN in server side. The |input| contains peer's protocol list in preferable order. The format of |input| is length-prefixed and not null-terminated. For example, HTTP-draft-04/2.0 and http/1.1 stored in |input| like this::
Submits one or more DATA frames to the stream |stream_id|. The data to be sent are provided by |data_prd|. If |flags| contains FrameFlags.END_STREAM, the last DATA frame has END_STREAM flag set.
@function
Submits HEADERS frame. The |flags| is bitwise OR of the following values:
Submits PING frame. You don't have to send PING back when you received PING frame. The library automatically submits PING frame in this case.
Submits PRIORITY frame to change the priority of stream |stream_id| to the priority specification |pri_spec|.
Submits PUSH_PROMISE frame.
Submits HEADERS frame and optionally one or more DATA frames.
Submits response HEADERS frame and optionally one or more DATA frames against the stream |stream_id|.
@function
@function
Signals to the client that the server started graceful shutdown procedure.
Submits WINDOW_UPDATE frame.
Struct to store option values for http2_session.
Distributed under the terms of the MIT license with an additional section 1.2 of the curl/libcurl project. Consult the provided LICENSE.md file for details
(C) 2012-2015 Tatsuhiro Tsujikawa (C) 2014-2015 Etienne Cimon
Session