File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
GraphQL.Client.Abstractions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
namespace GraphQL . Client . Abstractions
7
7
{
8
- public interface IGraphQLClient : IDisposable
8
+ public interface IGraphQLClient
9
9
{
10
10
Task < GraphQLResponse < TResponse > > SendQueryAsync < TResponse > ( GraphQLRequest request , CancellationToken cancellationToken = default ) ;
11
11
@@ -14,7 +14,7 @@ public interface IGraphQLClient : IDisposable
14
14
/// <summary>
15
15
/// Creates a subscription to a GraphQL server. The connection is not established until the first actual subscription is made.<br/>
16
16
/// All subscriptions made to this stream share the same hot observable.<br/>
17
- /// The stream must be recreated completely after an error has occured within its logic (i.e. a <see cref="WebSocketException"/>)
17
+ /// The stream must be recreated completely after an error has occurred within its logic (i.e. a <see cref="WebSocketException"/>)
18
18
/// </summary>
19
19
/// <param name="request">the GraphQL request for this subscription</param>
20
20
/// <returns>an observable stream for the specified subscription</returns>
Original file line number Diff line number Diff line change 12
12
13
13
namespace GraphQL . Client . Http
14
14
{
15
- public class GraphQLHttpClient : IGraphQLClient
15
+ public class GraphQLHttpClient : IGraphQLClient , IDisposable
16
16
{
17
17
private readonly Lazy < GraphQLHttpWebSocket > _lazyHttpWebSocket ;
18
18
private GraphQLHttpWebSocket GraphQlHttpWebSocket => _lazyHttpWebSocket . Value ;
You can’t perform that action at this time.
0 commit comments