private async Task SendSubscriptionRequest(WebSocketWrapper webSocketWrapper, string path) { await webSocketWrapper.SendMessageAsync($"{{ \"id\": {++id}, \"type\": \"sub\", \"path\": \"{path}\"}}").ConfigureAwait(false); }
private async Task SendPing(WebSocketWrapper webSocketWrapper) { await webSocketWrapper.SendMessageAsync($"{{ \"id\": {++id}, \"type\": \"ping\"}}").ConfigureAwait(false); }