Optical
Aberration

#swift

6 January 2021

I recently wrote a MQTT client with Swift NIO. You can find it here. This article covers how to create a simple chat client using said library.For those who don't know MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol used extensively in IoT (Internet of Things) technologies. The MQTT protocol defines two types of network entities: a message broker and a client. The broker receives all the messages from the…

7 December 2020

Soto v5.0.0 was released today. It includes many great new features some of which were previewed here. You can get the full change list for the release here.Along with the new release of Soto there is also a new website soto.codes. Please check it out. This will be a place to review reference and user-guides style documentation for Soto. There will be a…

13 September 2020

Amazon Web Services have asked we stop using the name AWS SDK Swift. To protect their trademark and avoid any confusion that AWS SDK Swift might be sponsored by or affiliated with AWS they asked we rename the project.How do you name a project that is a Swift SDK for AWS? The suggestion from Amazon was exactly that "Swift-only SDK for AWS". But that sounds like a description not a project name. The AWS Python SDK is called "boto", which is a fresh water dolphin native to the Amazon river. A number of open…

21 August 2020

What is most likely the final 5.0 alpha of Soto has been released. We are almost feature complete. This article covers some of the new features to be found in version 5.0. Below we cover streaming of request and response payloads, credential providers and Codable support for DynamoDB.With v5.0 it is possible to stream both the bodies of requests and responses, thus allowing the user to upload/download large objects without having to store the…

16 June 2020

Last week I posted an article about my initial experiences with the Swift AWS Lambda runtime. In that article I promised a second article discussing a second Lambda I was developing/converting from Node.js. Well here it is.The Simple Email Service (SES) is an AWS service that can be used to send and receive emails. It doesn't have storage capabilities but one thing it is useful for is forwarding emails sent to one domain onto another. SES…