public async Task TranscodeTrailers(IHeaderDictionary trailers)
        {
            var pipe   = new Pipe();
            var stream = GrpcWebTrailers.Stream(trailers, pipe.Writer);
            var encode = Base64Pipe.Encode(pipe.Reader, _httpContextAccessor.HttpContext.Response.BodyWriter);

            await stream;

            pipe.Writer.Complete();
            var length = await encode;

            pipe.Reader.Complete();
            _logger.LogTrace("Encoded {Length} bytes to base64", length);
        }
 public async Task TranscodeTrailers(IHeaderDictionary trailers)
 {
     await GrpcWebTrailers.Stream(trailers, _httpContextAccessor.HttpContext.Response.BodyWriter);
 }