< Summary

Class:Azure.Storage.Blobs.Specialized.BatchConstants
Assembly:Azure.Storage.Blobs.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.Batch\src\BatchConstants.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:30
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.cctor()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.Batch\src\BatchConstants.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage.Blobs.Specialized
 5{
 6    /// <summary>
 7    /// Constants used by the batching APIs.
 8    /// </summary>
 9    internal static class BatchConstants
 10    {
 11        public const int NoStatusCode = 0;
 12        public const int RequestBufferSize = Constants.KB;
 13        public const int ResponseLineSize = 4 * Constants.KB;
 14        public const int ResponseBufferSize = 16 * Constants.KB;
 15
 16        public const string XmsVersionName = "x-ms-version";
 17        public const string XmsClientRequestIdName = "x-ms-client-request-id";
 18        public const string XmsReturnClientRequestIdName = "x-ms-return-client-request-id";
 19        public const string ContentIdName = "Content-ID";
 20        public const string ContentLengthName = "Content-Length";
 21
 22        public const string MultipartContentTypePrefix = "multipart/mixed; boundary=";
 23        public const string RequestContentType = "Content-Type: application/http";
 24        public const string RequestContentTransferEncoding = "Content-Transfer-Encoding: binary";
 25        public const string BatchSeparator = "--";
 26        public const string HttpVersion = "HTTP/1.1";
 27
 228        public static readonly string DelayedResponsePropertyName = $"{nameof(BlobBatchClient)}.{nameof(BlobBatchClient.
 29    }
 30}

Methods/Properties

.cctor()