< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.HttpTransportSettings
Assembly: CoreWCF.Http
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Http/src/CoreWCF/Channels/HttpTransportSettings.cs
Line coverage
100%
Covered lines: 17
Uncovered lines: 0
Coverable lines: 17
Total lines: 29
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.Http/src/CoreWCF/Channels/HttpTransportSettings.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5using System.Net;
 6
 7namespace CoreWCF.Channels
 8{
 9    internal class HttpTransportSettings : IHttpTransportFactorySettings
 10    {
 109511        public TimeSpan CloseTimeout { get; set; }
 44512        public TimeSpan OpenTimeout { get; set; }
 43413        public TimeSpan ReceiveTimeout { get; set; }
 108414        public TimeSpan SendTimeout { get; set; }
 108415        public bool ManualAddressing { get; set; }
 173416        public BufferManager BufferManager { get; set; }
 169317        public long MaxReceivedMessageSize { get; set; }
 240618        public MessageEncoderFactory MessageEncoderFactory { get; set; }
 2219        public MessageVersion MessageVersion => MessageEncoderFactory.MessageVersion;
 45320        public int MaxBufferSize { get; set; }
 173421        public TransferMode TransferMode { get; set; }
 107322        public bool KeepAliveEnabled { get; set; }
 42323        public IAnonymousUriPrefixMatcher AnonymousUriPrefixMatcher { get; set; }
 44524        public WebSocketTransportSettings WebSocketSettings { get; set; }
 294625        public AuthenticationSchemes AuthenticationScheme { get; set; }
 242126        public bool IsAuthenticationRequired => AuthenticationScheme.IsNotSet(AuthenticationSchemes.Anonymous);
 1127        public bool IsAuthenticationSupported => AuthenticationScheme != AuthenticationSchemes.Anonymous;
 28    }
 29}