Skip to content

Commit ffe0055

Browse files
authored
Fix typos (#141)
1 parent 53fe063 commit ffe0055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/WebSocketKit/WebSocket+Connect.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extension WebSocket {
1111
/// - configuration: Configuration for the WebSocket client.
1212
/// - eventLoopGroup: Event loop group to be used by the WebSocket client.
1313
/// - onUpgrade: An escaping closure to be executed after the upgrade is completed by `NIOWebSocketClientUpgrader`.
14-
/// - Returns: An future which completes when the connection to the WebSocket server is established.
14+
/// - Returns: A future which completes when the connection to the WebSocket server is established.
1515
@preconcurrency
1616
public static func connect(
1717
to url: String,
@@ -165,7 +165,7 @@ extension WebSocket {
165165
/// - configuration: Configuration for the WebSocket client.
166166
/// - eventLoopGroup: Event loop group to be used by the WebSocket client.
167167
/// - onUpgrade: An escaping closure to be executed after the upgrade is completed by `NIOWebSocketClientUpgrader`.
168-
/// - Returns: An future which completes when the connection to the origin server is established.
168+
/// - Returns: A future which completes when the connection to the origin server is established.
169169
@preconcurrency
170170
public static func connect(
171171
to url: String,

0 commit comments

Comments
 (0)