Skip to content

Class SafeHttpPolicyBuilderExtensions

Namespace: DotBoxD.Hosting.Http.Internal
Assembly: DotBoxD.Hosting.Http.dll

public static class SafeHttpPolicyBuilderExtensions

objectSafeHttpPolicyBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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)

builder SandboxPolicyBuilder

allowedHosts IEnumerable<string>

maxResponseBytes long

allowedSchemes IEnumerable<string>?

timeout TimeSpan?

allowIpLiterals bool

allowPrivateNetwork bool

maxRequestBytes long?

SandboxPolicyBuilder