Search Toolkit Book for SUvNgHttp2_SessionBase
#include <connect/impl/ncbi_uv_nghttp2.hpp>
Definition at line 464 of file ncbi_uv_nghttp2.hpp.
◆ SUvNgHttp2_SessionBase()template<class ... TArgs>
SUvNgHttp2_SessionBase::SUvNgHttp2_SessionBase ( uv_loop_t * loop, const TAddrNCred & addr_n_cred, size_t rd_buf_size, size_t wr_buf_size, bool https, TArgs &&... args ) ◆ ~SUvNgHttp2_SessionBase() virtual SUvNgHttp2_SessionBase::~SUvNgHttp2_SessionBase ( ) inlinevirtualDefinition at line 477 of file ncbi_uv_nghttp2.hpp.
◆ BindThis()template<typename TR , class... TArgs>
function<TR(TArgs...)> SUvNgHttp2_SessionBase::BindThis ( TR(SUvNgHttp2_SessionBase::*)(TArgs...) member ) inlineprivateDefinition at line 494 of file ncbi_uv_nghttp2.hpp.
◆ GetId() SId SUvNgHttp2_SessionBase::GetId ( void ) const inline ◆ OnConnect() void SUvNgHttp2_SessionBase::OnConnect ( int status ) private ◆ OnError() int SUvNgHttp2_SessionBase::OnError ( nghttp2_session * session, int lib_error_code, const char * msg, size_t len ) protected ◆ OnRead() void SUvNgHttp2_SessionBase::OnRead ( const char * buf, ssize_t nread ) privateDefinition at line 1016 of file ncbi_uv_nghttp2.cpp.
References buf, SUv_Tcp::Close(), SNgHttp2_Session::Del(), SUv_Tcp::eNormalClose, SUvNgHttp2_Error::FromLibuv(), SUvNgHttp2_Error::FromMbedTls(), SUvNgHttp2_Error::FromNgHttp2(), m_Session, m_Tcp, m_Tls, NCBI_UVNGHTTP2_SESSION_TRACE, SNgHttp2_Session::Recv(), Reset(), s_WantReadOrWrite(), Send(), and SNgHttp2_Session::Terminate().
◆ OnReset() ◆ OnWrite() void SUvNgHttp2_SessionBase::OnWrite ( int status ) private ◆ Reset()Definition at line 1061 of file ncbi_uv_nghttp2.cpp.
References SUv_Tcp::Close(), SNgHttp2_Session::Del(), m_Session, m_Tcp, m_Tls, NCBI_UVNGHTTP2_SESSION_TRACE, OnReset(), Send(), and SNgHttp2_Session::Terminate().
Referenced by OnConnect(), OnRead(), OnWrite(), SPSG_IoSession::ProcessRequest(), Send(), and Shutdown().
◆ Send() bool SUvNgHttp2_SessionBase::Send ( ) protectedDefinition at line 963 of file ncbi_uv_nghttp2.cpp.
References SUv_Tcp::eNormalClose, SNgHttp2_Session::eWantsClose, SUvNgHttp2_Error::FromLibuv(), SUvNgHttp2_Error::FromMbedTls(), SUvNgHttp2_Error::FromNgHttp2(), m_Session, m_Tcp, m_Tls, Reset(), s_WantReadOrWrite(), SNgHttp2_Session::Send(), and SUv_Tcp::Write().
Referenced by SH2S_Session::Event(), OnConnect(), OnRead(), SPSG_IoSession::ProcessRequest(), SH2S_Session::Request(), and Reset().
◆ Shutdown() void SUvNgHttp2_SessionBase::Shutdown ( ) inline ◆ m_Authority ◆ m_Session ◆ m_Tcp SUv_Tcp SUvNgHttp2_SessionBase::m_Tcp protected ◆ m_TlsThe documentation for this struct was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4