Table of Contents

Class SafeHttpPolicyBuilderExtensions

Namespace
DotBoxD.Hosting.Http.Policy
Assembly
DotBoxD.Hosting.Http.dll
public static class SafeHttpPolicyBuilderExtensions
Inheritance
SafeHttpPolicyBuilderExtensions
Inherited Members

Methods

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

builder SandboxPolicyBuilder
allowedHosts IEnumerable<string>
maxResponseBytes long
allowedSchemes IEnumerable<string>
timeout TimeSpan?
allowIpLiterals bool
allowPrivateNetwork bool
maxRequestBytes long?

Returns

SandboxPolicyBuilder