Open matszpk opened 2 years ago
This needs to be implemented for all backends. In particular, at least last time I checked Security.framework didn't support server-side ALPN.
I think it is ok just let alpn
be a optional function for difference platform. If Security.framework didn't support server-side ALPN, just ignore the alpn settings or create a runtime error when set server side alpn on ios and macOS.
Add ALPN to TlsAcceptor - in server side.