Class SafeHttpPolicyBuilderExtensions
Namespace: DotBoxD.Hosting.Http.Policy
Assembly: DotBoxD.Hosting.Http.dll
public static class SafeHttpPolicyBuilderExtensionsInheritance
Section titled “Inheritance”object ← SafeHttpPolicyBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”GrantHttpGet(SandboxPolicyBuilder, IEnumerable<string>, long, IEnumerable<string>?, TimeSpan?, bool, bool, long?)
Section titled “ GrantHttpGet(SandboxPolicyBuilder, IEnumerable<string>, long, IEnumerable<string>?, TimeSpan?, bool, bool, long?)”public static SandboxPolicyBuilder GrantHttpGet(this SandboxPolicyBuilder builder, IEnumerable<string> allowedHosts, long maxResponseBytes, IEnumerable<string>? allowedSchemes = null, TimeSpan? timeout = null, bool allowIpLiterals = false, bool allowPrivateNetwork = false, long? maxRequestBytes = null)Parameters
Section titled “Parameters”builder SandboxPolicyBuilder
allowedHosts IEnumerable<string>
maxResponseBytes long
allowedSchemes IEnumerable<string>?
timeout TimeSpan?
allowIpLiterals bool
allowPrivateNetwork bool
maxRequestBytes long?