Wrapper library for functionality in the https://github.com/awslabs/aws-c-io library.
The LibAwsIO package aims to directly wrap and expose aws-c-io functionality (matching
data structures and api functions exactly).
The functions and structures in AwsIO are more Julia-like and are intended to be more user-friendly,
while using LibAwsIO under the hood.
using Pkg
Pkg.add("AwsIO")Currently only client sockets are supported with a variety of options for configuration.
using AwsIO
# connect a plain socket to `host` on `port`
socket = AwsIO.Sockets.Client(host, port)
# connect a socket with TLS encryption to `host` on `port`
tls = AwsIO.Sockets.Client(host, port; tls=true)Otherwise, the returned AwsIO.Sockets.Client object behaves like a standard IO object.