private GraphQLHttpClient GetGraphQLClient(string endpoint, bool requestsViaWebsocket = false) { if (Serializer == null) { throw new InvalidOperationException("JSON serializer not configured"); } return(WebHostHelpers.GetGraphQLClient(Port, endpoint, requestsViaWebsocket, Serializer)); }
private GraphQLHttpClient GetGraphQLClient(string endpoint, bool requestsViaWebsocket = false) => WebHostHelpers.GetGraphQLClient(Port, endpoint, requestsViaWebsocket);