/// <summary>
        /// Creates a stream.
        /// </summary>
        /// <param name="streamInput"></param>
        /// <returns>The stream's id.</returns>
        public async Task <string> StreamCreate(CancellationToken cancellationToken, StreamCreateInput streamInput)
        {
            try
            {
                var request = new GraphQLRequest
                {
                    Query     = @"mutation streamCreate($myStream: StreamCreateInput!) { streamCreate(stream: $myStream) }",
                    Variables = new
                    {
                        myStream = streamInput
                    }
                };

                var res = await GQLClient.SendMutationAsync <Dictionary <string, object> >(request, cancellationToken).ConfigureAwait(false);

                if (res.Errors != null)
                {
                    throw new SpeckleException("Could not create stream", res.Errors);
                }

                return((string)res.Data["streamCreate"]);
            }
            catch (Exception e)
            {
                throw new SpeckleException(e.Message, e);
            }
        }
 /// <summary>
 /// Creates a stream.
 /// </summary>
 /// <param name="streamInput"></param>
 /// <returns>The stream's id.</returns>
 public Task <string> StreamCreate(StreamCreateInput streamInput)
 {
     return(StreamCreate(CancellationToken.None, streamInput));
 }