NCBI C++ ToolKit
Public Member Functions | Static Private Member Functions | List of all members
SUvNgHttp2_Session< TImpl > Struct Template Reference

Search Toolkit Book for SUvNgHttp2_Session

#include <connect/impl/ncbi_uv_nghttp2.hpp>

+ Inheritance diagram for SUvNgHttp2_Session< TImpl >:
+ Collaboration diagram for SUvNgHttp2_Session< TImpl >:

Public Member Functions

template<class... TArgs>
 SUvNgHttp2_Session (TArgs &&... args)
 

Static Private Member Functions

static SUvNgHttp2_SessionGetThat (void *user_data)
 
static int s_OnData (nghttp2_session *session, uint8_t flags, int32_t stream_id, const uint8_t *data, size_t len, void *user_data)
 
static int s_OnStreamClose (nghttp2_session *session, int32_t stream_id, uint32_t error_code, void *user_data)
 
static int s_OnHeader (nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data)
 
static int s_OnError (nghttp2_session *session, int lib_error_code, const char *msg, size_t len, void *user_data)
 

Detailed Description

template<class TImpl>
struct SUvNgHttp2_Session< TImpl >

Definition at line 504 of file ncbi_uv_nghttp2.hpp.

Constructor & Destructor Documentation

◆ SUvNgHttp2_Session()

template<class TImpl >
template<class... TArgs>
SUvNgHttp2_Session< TImpl >::SUvNgHttp2_Session ( TArgs &&...  args)
inline

Definition at line 507 of file ncbi_uv_nghttp2.hpp.

Member Function Documentation

◆ GetThat()

template<class TImpl >
static SUvNgHttp2_Session* SUvNgHttp2_Session< TImpl >::GetThat ( void *  user_data)
inlinestaticprivate

◆ s_OnData()

template<class TImpl >
static int SUvNgHttp2_Session< TImpl >::s_OnData ( nghttp2_session *  session,
uint8_t  flags,
int32_t  stream_id,
const uint8_t data,
size_t  len,
void *  user_data 
)
inlinestaticprivate

Definition at line 518 of file ncbi_uv_nghttp2.hpp.

◆ s_OnError()

template<class TImpl >
static int SUvNgHttp2_Session< TImpl >::s_OnError ( nghttp2_session *  session,
int  lib_error_code,
const char *  msg,
size_t  len,
void *  user_data 
)
inlinestaticprivate

Definition at line 533 of file ncbi_uv_nghttp2.hpp.

◆ s_OnHeader()

template<class TImpl >
static int SUvNgHttp2_Session< TImpl >::s_OnHeader ( nghttp2_session *  session,
const nghttp2_frame *  frame,
const uint8_t name,
size_t  namelen,
const uint8_t value,
size_t  valuelen,
uint8_t  flags,
void *  user_data 
)
inlinestaticprivate

Definition at line 528 of file ncbi_uv_nghttp2.hpp.

◆ s_OnStreamClose()

template<class TImpl >
static int SUvNgHttp2_Session< TImpl >::s_OnStreamClose ( nghttp2_session *  session,
int32_t  stream_id,
uint32_t  error_code,
void *  user_data 
)
inlinestaticprivate

Definition at line 523 of file ncbi_uv_nghttp2.hpp.


The documentation for this struct was generated from the following file:
Modified on Wed May 22 11:33:36 2024 by modify_doxy.py rev. 669887