Skip to content

Commit cb80491

Browse files
authored
Merge pull request #185 from GetStream/feature/cleanup-before-release
Feature/cleanup before release
2 parents 881ab34 + 5589505 commit cb80491

18 files changed

+35
-58
lines changed

Assets/Plugins/StreamChat/Core/LowLevelClient/API/DeviceApi.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using StreamChat.Core.LowLevelClient.API.Internal;
66
using StreamChat.Core.LowLevelClient.Requests;
77
using StreamChat.Core.LowLevelClient.Responses;
8-
using StreamChat.Core.Responses;
98

109
namespace StreamChat.Core.LowLevelClient.API
1110
{

Assets/Plugins/StreamChat/Core/LowLevelClient/IStreamChatLowLevelClient.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ namespace StreamChat.Core.LowLevelClient
1414
public delegate void ConnectionStateChangeHandler(ConnectionState previous, ConnectionState current);
1515

1616
/// <summary>
17-
/// Stream Chat Client
17+
/// Stream Low-Level Chat Client - maintains WebSockets connection, executes API calls and exposes Stream events to which you can subscribe.
18+
/// There should be only one instance of this client in your application. This client does NOT maintain state.
19+
///
20+
/// Unless you have a good reason to use the low-level client, you should be using the stateful <see cref="IStreamChatClient"/> which maintain client state
1821
/// </summary>
1922
public interface IStreamChatLowLevelClient : IAuthProvider, IConnectionProvider, IStreamRealtimeEventsProvider, IDisposable
2023
{

Assets/Plugins/StreamChat/Core/LowLevelClient/Models/ImageSize.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using StreamChat.Core.Helpers;
1+
using StreamChat.Core.Helpers;
32
using StreamChat.Core.InternalDTO.Models;
43

54
namespace StreamChat.Core.LowLevelClient.Models

Assets/Plugins/StreamChat/Core/LowLevelClient/Models/MessageType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace StreamChat.Core.LowLevelClient.Models
44
{
5-
public struct MessageType : System.IEquatable<MessageType>,
5+
public readonly struct MessageType : System.IEquatable<MessageType>,
66
ILoadableFrom<MessageTypeInternalDTO, MessageType>,
77
ISavableTo<MessageTypeInternalDTO>
88
{

Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@
3939

4040
namespace StreamChat.Core.LowLevelClient
4141
{
42-
/// <summary>
43-
/// Stream Chat Client - maintains WebSockets connection, executes API calls and exposes Stream events to which you can subscribe.
44-
/// There should be only one instance of this client in your application.
45-
/// </summary>
42+
/// <inheritdoc cref="IStreamChatLowLevelClient"/>
4643
public class StreamChatLowLevelClient : IStreamChatLowLevelClient
4744
{
4845
public const string MenuPrefix = "Stream/";

Assets/Plugins/StreamChat/Core/WSEventType.cs renamed to Assets/Plugins/StreamChat/Core/LowLevelClient/WSEventType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace StreamChat.Core
1+
namespace StreamChat.Core.LowLevelClient
22
{
33
/// <summary>
44
/// Event types that can be received from WebSocket connection

Assets/Plugins/StreamChat/Core/LowLevelClient/WSEventType.cs.meta

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/StreamChat/Core/Models/OperationType.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
namespace StreamChat.Core.Models
22
{
3+
/// <summary>
4+
/// Type of operation for the members changed event
5+
/// </summary>
36
public enum OperationType
47
{
58
Added,

Assets/Plugins/StreamChat/Core/StreamChatClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ namespace StreamChat.Core
6666
/// </summary>
6767
public delegate void ChannelMemberRemovedHandler(IStreamChannel channel, IStreamChannelMember member);
6868

69+
/// <inheritdoc cref="IStreamChatClient"/>
6970
public sealed class StreamChatClient : IStreamChatClient
7071
{
7172
public event ConnectionMadeHandler Connected;

Assets/Plugins/StreamChat/Core/WSEventType.cs.meta

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)