We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f2a9e commit 2c3fcceCopy full SHA for 2c3fcce
Sources/GraphQLTransportWS/InitPayloads.swift
@@ -5,5 +5,9 @@ public struct EmptyInitPayload: Equatable & Codable { }
5
6
/// `connection_init` `payload` that includes an `authToken` field
7
public struct TokenInitPayload: Equatable & Codable {
8
- let authToken: String
+ public let authToken: String
9
+
10
+ public init(authToken: String) {
11
+ self.authToken = authToken
12
+ }
13
}
0 commit comments