mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-22 04:30:44 +00:00
Motivation: Resolution on issue-151. Adding a README for NIOTLSServer. Modifications: Swapped applicationProtocols check with encodedApplicationProtocols. Added a README for NIOTLSServer. Altered the README for NIOSSLHTTP1Client. Result: Updated documentation and swapped ALPN checks during SSLContext initialization.
467 B
467 B
NIOSSLHTTP1Client
This sample application provides a https client. Invoke it using one of the following syntaxes.
swift run NIOSSLHTTP1Client # Gets a content on a server on ::1, port 4433, using SSL/TLS
swift run NIOSSLHTTP1Client "https://example.com" # Gets a content on a server on example.com, port 443, using SSL/TLS
swift run NIOSSLHTTP1Client "https://example.com:4433" # Gets a content on a server on example.com, port 4433, using SSL/TLS