Skip to content

Commit 0c07dd7

Browse files
docs: Minor corrections
1 parent 44b45ec commit 0c07dd7

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Sources/GraphQLWS/Client.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import GraphQL
33

44
/// Client is an open-ended implementation of the client side of the protocol. It parses and adds callbacks for each type of server respose.
55
public actor Client<InitPayload: Equatable & Codable> {
6-
/// We keep this weak because we strongly inject this object into the messenger callback
76
let messenger: Messenger
87

98
let onConnectionError: (ConnectionErrorResponse, Client) async throws -> Void

Sources/GraphQLWS/Messenger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
/// Protocol for an object that can send messages. This allows mocking in tests
3+
/// Protocol for an object that can send messages.
44
public protocol Messenger: Sendable {
55
/// Send a message through this messenger
66
/// - Parameter message: The message to send

0 commit comments

Comments
 (0)