3#include <nghttp2/nghttp2.h>
4#include <openssl/crypto.h>
6namespace magpie::application::_detail {
8extern nghttp2_ssize onSend(
15extern int onChunkRecv(
16 nghttp2_session *session,
25 nghttp2_session *session,
26 const nghttp2_frame *frame,
27 const uint8_t *name,
size_t namelen,
28 const uint8_t *value,
size_t valuelen,
33 nghttp2_session* sess,
34 const nghttp2_frame* frame,
38extern int onAlpnSelectProto(
39 SSL* ssl,
const unsigned char** out,
40 unsigned char* outLen,
const unsigned char* in,
41 unsigned int inLen,
void* arg
44extern int onClientHello(SSL* ssl,
int* al,
void* arg);
46extern int onStreamClose(
47 nghttp2_session *session,