How to support TLS 1.3 using SwiftNIO?

and this is how my app works:

@meaton @Helge_Hess1 The same code I got the correct TLS version after ALPN finished. But I wonder why it failed in channelRead. Anyway, I got it, Thank you guys so much!