Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/GraphQL.Client.Abstractions/IGraphQLClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace GraphQL.Client.Abstractions
{
public interface IGraphQLClient : IDisposable
public interface IGraphQLClient
{
Task<GraphQLResponse<TResponse>> SendQueryAsync<TResponse>(GraphQLRequest request, CancellationToken cancellationToken = default);

Expand All @@ -14,7 +14,7 @@ public interface IGraphQLClient : IDisposable
/// <summary>
/// Creates a subscription to a GraphQL server. The connection is not established until the first actual subscription is made.<br/>
/// All subscriptions made to this stream share the same hot observable.<br/>
/// The stream must be recreated completely after an error has occured within its logic (i.e. a <see cref="WebSocketException"/>)
/// The stream must be recreated completely after an error has occurred within its logic (i.e. a <see cref="WebSocketException"/>)
/// </summary>
/// <param name="request">the GraphQL request for this subscription</param>
/// <returns>an observable stream for the specified subscription</returns>
Expand Down
2 changes: 1 addition & 1 deletion src/GraphQL.Client/GraphQLHttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace GraphQL.Client.Http
{
public class GraphQLHttpClient : IGraphQLClient
public class GraphQLHttpClient : IGraphQLClient, IDisposable
{
private readonly Lazy<GraphQLHttpWebSocket> _lazyHttpWebSocket;
private GraphQLHttpWebSocket GraphQlHttpWebSocket => _lazyHttpWebSocket.Value;
Expand Down