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)); }
public async Task CreateServer() { if (Server != null) { return; } Server = await WebHostHelpers.CreateServer(Port); }
private GraphQLHttpClient GetGraphQLClient(string endpoint, bool requestsViaWebsocket = false) => WebHostHelpers.GetGraphQLClient(Port, endpoint, requestsViaWebsocket);