File: nghttp2_session_callbacks_set_error_callback.rst

package info (click to toggle)
nghttp2 1.68.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,592 kB
  • sloc: ansic: 104,233; cpp: 55,792; ruby: 30,108; yacc: 7,083; sh: 4,643; makefile: 1,506; python: 806
file content (24 lines) | stat: -rw-r--r-- 665 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

nghttp2_session_callbacks_set_error_callback
============================================

Synopsis
--------

*#include <nghttp2/nghttp2.h>*

.. function:: void nghttp2_session_callbacks_set_error_callback( nghttp2_session_callbacks *cbs, nghttp2_error_callback error_callback)

    
    .. warning::
    
      Deprecated.  Use
      `nghttp2_session_callbacks_set_error_callback2()` with
      :type:`nghttp2_error_callback2` instead.
    
    Sets callback function invoked when library tells error message to
    the application.
    
    If both :type:`nghttp2_error_callback` and
    :type:`nghttp2_error_callback2` are set, the latter takes
    precedence.