mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-25 04:47:52 +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.
11 lines
467 B
Markdown
11 lines
467 B
Markdown
NIOSSLHTTP1Client
|
|
---
|
|
|
|
This sample application provides a https client. Invoke it using one of the following syntaxes.
|
|
|
|
```bash
|
|
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
|
|
```
|