Module |
|
Header |
/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Public/DTLSContext.h |
Include |
#include "DTLSContext.h" |
Source |
/Engine/Plugins/Runtime/PacketHandlers/DTLSHandlerComponent/Source/Private/DTLSContext.cpp |
bool Initialize
(
const int32 MaxPacketSize,
const FString & CertId,
FDTLSHandlerComponent * Handler
)
Initialize the context
false if initialization process failed for any reason
Parameter |
Description |
---|---|
MaxPacketSize |
the MTU to respect when processing handshake packets |
CertId |
unique identifier of certificate to use, retrieved from FDTLSCertStore |
Handler |
the packet handler component that owns this context |