aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <TlsOptions.h>
Public Member Functions | |
virtual | ~TlsChannelHandler () |
virtual String | GetProtocol () const =0 |
![]() | |
virtual | ~ChannelHandler ()=default |
ChannelHandler (const ChannelHandler &)=delete | |
ChannelHandler & | operator= (const ChannelHandler &)=delete |
bool | ChannelsThreadIsCallersThread () const |
void | ShutDownChannel (int errorCode) |
void | ScheduleTask (std::function< void(TaskStatus)> &&task) |
void | ScheduleTask (std::function< void(TaskStatus)> &&task, std::chrono::nanoseconds run_in) |
Friends | |
aws_byte_buf() | aws_tls_handler_protocol (aws_channel_handler *) |
Additional Inherited Members | |
![]() | |
s_ProcessReadMessage | |
s_ProcessWriteMessage | |
s_IncrementReadWindow | |
s_ProcessShutdown | |
s_InitialWindowSize | |
s_MessageOverhead | |
s_ResetStatistics | |
s_GatherStatistics | |
![]() | |
struct aws_channel_handler | m_handler |
Allocator * | m_allocator |
BYO_CRYPTO: TLS channel-handler base class.
|
virtual |
|
protected |
Invoke this function from inside your handler after TLS negotiation completes. errorCode == AWS_ERROR_SUCCESS or 0 means the session was successfully established and the connection should continue on.
|
friend |