Skip to content

Commit 2668f81

Browse files
committed
Fix #207
1 parent 4e07ff1 commit 2668f81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/GraphQL.Client/GraphQLHttpClientExtensions.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,20 @@ public static IObservable<GraphQLResponse<TResponse>> CreateSubscriptionStream<T
2727
throw e;
2828
});
2929

30+
/// <inheritdoc cref="CreateSubscriptionStream{TResponse}(GraphQL.Client.Abstractions.IGraphQLClient,GraphQL.GraphQLRequest,System.Action{System.Net.WebSockets.WebSocketException})"/>
3031
public static IObservable<GraphQLResponse<TResponse>> CreateSubscriptionStream<TResponse>(
3132
this IGraphQLClient client, GraphQLRequest request, Func<TResponse> defineResponseType, Action<WebSocketException> webSocketExceptionHandler)
3233
{
3334
_ = defineResponseType;
3435
return client.CreateSubscriptionStream<TResponse>(request, webSocketExceptionHandler);
3536
}
37+
38+
/// <inheritdoc cref="GraphQLHttpClient.CreateSubscriptionStream{TResponse}(GraphQL.GraphQLRequest)"/>
39+
public static IObservable<GraphQLResponse<TResponse>> CreateSubscriptionStream<TResponse>(
40+
this IGraphQLClient client, GraphQLRequest request, Func<TResponse> defineResponseType)
41+
{
42+
_ = defineResponseType;
43+
return client.CreateSubscriptionStream<TResponse>(request);
44+
}
3645
}
3746
}

0 commit comments

Comments
 (0)