Skip to content

Commit

Permalink
Merge branch 'master' of github.com:matsune/swift-mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
matsune committed Aug 30, 2020
2 parents 7ecc596 + c20b3d2 commit c0a21bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# swift-mqtt

Asyncronous MQTT client library using [SwiftNIO](https://github.com/apple/swift-nio) for networking layer.
Asynchronous MQTT client library using [SwiftNIO](https://github.com/apple/swift-nio) for networking layer.

- Based on [MQTT Version 3.1.1 Specification](http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718028).
- Support SSL/TLS connection
- Supports SSL/TLS connection

## Usage

Expand All @@ -21,7 +21,7 @@ let client = MQTTClient(
client.connect()
```

You can handle events by delegate methods.
You can handle events with delegate methods.

```swift
client.delegate = self
Expand Down Expand Up @@ -69,7 +69,7 @@ client.disconnect()

## SSL/TLS connection

This library uses [SwiftNIO SSL](https://github.com/apple/swift-nio-ssl) for SSL connection. You can configure settings of client.
This library uses [SwiftNIO SSL](https://github.com/apple/swift-nio-ssl) for SSL connection. You can configure settings of a client.

```swift
let caCert = "./server/certs/ca/ca_cert.pem"
Expand Down

0 comments on commit c0a21bc

Please sign in to comment.