File: nghttp2_session_callbacks_set_send_callback2.rst

package info (click to toggle)
nghttp2 1.68.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, 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 (16 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

nghttp2_session_callbacks_set_send_callback2
============================================

Synopsis
--------

*#include <nghttp2/nghttp2.h>*

.. function:: void nghttp2_session_callbacks_set_send_callback2( nghttp2_session_callbacks *cbs, nghttp2_send_callback2 send_callback)

    
    Sets callback function invoked when a session wants to send data to
    the remote peer.  This callback is not necessary if the application
    uses solely `nghttp2_session_mem_send2()` to serialize data to
    transmit.