Files
swift-nio-ssl/Sources/NIOSSLHTTP1Client
George Barnett 7eb0321337 Add loading of multiple certificates from a single PEM file/buffer (#123)
Motivation:

It is only possible to load multiple certificates from a PEM file,
sometimes it is useful to load multiple certificates from a buffer.

Modifications:

- Deprecate the `.file` source of loading a certificate, since it would
  only load the first certificate in a file.
- Provide methods for loading multiple certificates from a PEM file or
  buffer.

Result:

Multiple certificates can be loaded from a PEM file/buffer.
2019-08-09 16:52:02 +01:00
..

NIOHTTP1Client

This sample application provides a http client. Invoke it using one of the following syntaxes.

swift run NIOHTTP1Client # Gets a content on a server on ::1, port 4433, using SSL/TLS
swift run NIOHTTP1Client "https://example.com" # Gets a content on a server on example.com, port 443, using SSL/TLS 
swift run NIOHTTP1Client "https://example.com:4433" # Gets a content on a server on example.com, port 4433, using SSL/TLS