26#ifndef QB_IO_TRANSPORT_STCP_H
27#define QB_IO_TRANSPORT_STCP_H
31namespace qb::io::transport {
47 constexpr bool is_secure() const noexcept {
return true; }
59 static constexpr const std::size_t bucket_read = 8192;
61 auto ret =
_in.read(
_in_buffer.allocate_back(bucket_read), bucket_read);
64 const auto pending = SSL_pending(
transport().ssl_handle());
input_buffer_type _in_buffer
Definition stream.h:59
io::tcp::ssl::socket _in
Definition stream.h:58
io::tcp::ssl::socket & transport() noexcept
Definition stream.h:76
Combined input/output stream template class.
Definition stream.h:303
Secure TCP (SSL/TLS) transport providing encrypted stream communication.
Definition stcp.h:44
constexpr bool is_secure() const noexcept
Indicates that this transport implementation is secure.
Definition stcp.h:47
int read() noexcept
Read data from the secure TCP socket.
Definition stcp.h:58
Core stream abstraction classes for the QB IO library.
Implementation of SSL/TLS sockets for secure TCP communication in the QB IO library.