-
Couldn't load subscription status.
- Fork 225
V5: Use web-socket client and remaining types from StreamCore #3856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
bc371e5 to
f119566
Compare
Generated by 🚫 Danger |
b267179 to
260dc60
Compare
8aae969 to
ca4e39e
Compare
ca4e39e to
bf09ff4
Compare
SDK Size
|
StreamChat XCSize
Show 234 more objects
|
StreamChatUI XCSize
Show 292 more objects
|
Public Interface- public struct ErrorPayload: LocalizedError, Codable, CustomDebugStringConvertible, Equatable
-
- case code
- case message
- case statusCode = "StatusCode"
-
-
- public let code: Int
- public let message: String
- public let statusCode: Int
- public var errorDescription: String?
- public var debugDescription: String
- public final class InvalidToken: ClientError, @unchecked Sendable
- @propertyWrapper public class Atomic: @unchecked Sendable
-
- public var wrappedValue: T
-
-
- public init(wrappedValue: T)
-
-
- public func mutate(_ changes: (_ value: inout T) -> Void)
- public func callAsFunction(_ changes: (_ value: inout T) -> Void)
- public protocol Event: Sendable
- public class ClientError: Error, CustomStringConvertible, @unchecked Sendable
-
- public let location: Location?
- public let message: String?
- public let underlyingError: Error?
- public var errorDescription: String?
- public var errorPayload: ErrorPayload?
- public var localizedDescription: String
- public private lazy var description
-
-
- public init(with error: Error? = nil,_ file: StaticString = #file,_ line: UInt = #line)
- public init(_ message: String,_ file: StaticString = #file,_ line: UInt = #line)
-
-
- public struct Location: Equatable
-
- public let file: String
- public let line: Int
- public struct APIKey: Equatable, Sendable
-
- public let apiKeyString: String
-
-
- public init(_ apiKeyString: String)
- public struct ErrorPayloadDetail: LocalizedError, Codable, Equatable
-
- case code
- case messages
-
-
- public let code: Int
- public let messages: [String]
- public final class Unknown: ClientError, @unchecked Sendable
- public final class Unexpected: ClientError, @unchecked Sendable
- public final class WebSocket: ClientError, @unchecked Sendable
- public enum ConnectionStatus: Equatable, Sendable
-
- case initialized
- case disconnected(error: ClientError? = nil)
- case connecting
- case connected
- case disconnecting
- public extension Event
- public final class EventDecoding: ClientError, @unchecked Sendable
- extension PollVoteListController: EventsControllerDelegate
+ extension PollVoteListController
- public func eventsController(_ controller: EventsController,didReceiveEvent event: any Event)
+ public var observableObject: ObservableObject
+
+
+ public class ObservableObject: SwiftUI.ObservableObject
+
+ public let controller: PollVoteListController
+ @Published public private var votes: [PollVote]
+ @Published public private var poll: Poll?
+ @Published public private var state: DataController.State
public final class HealthCheckEvent: ConnectionEvent, EventDTO, Sendable
+
+
+ public func healthcheck()-> HealthCheckInfo?
- extension ClientError: Equatable
+ extension ClientError
- public static func ==(lhs: ClientError,rhs: ClientError)-> Bool
+ public var errorPayload: ErrorPayload? |
|



🔗 Issue Links
Related: IOS-1205
🎯 Goal
Use web-socket client and remaining types from StreamCore
📝 Summary
🛠 Implementation
Note that StreamCore's web-socket is from Video SDK and is not a drop in replacement.
🎨 Showcase
🧪 Manual Testing Notes
☑️ Contributor Checklist
docs-contentrepo