enable static method
void
enable({
- String mode = 'reverse',
- String? upstreamBaseUrl,
- String? proxyBaseUrl,
- String proxyHttpPath = '/httpproxy',
- bool allowBadCertificates = false,
- List<
Pattern> ? skipPaths, - List<
Pattern> ? skipHosts, - List<
String> ? skipMethods, - List<
Pattern> ? allowPaths, - List<
Pattern> ? allowHosts, - List<
String> ? allowMethods, - List<
Pattern> bypassHosts = const [],
Implementation
static void enable({
String mode = 'reverse',
String? upstreamBaseUrl,
String? proxyBaseUrl,
String proxyHttpPath = '/httpproxy',
bool allowBadCertificates = false,
List<Pattern>? skipPaths,
List<Pattern>? skipHosts,
List<String>? skipMethods,
List<Pattern>? allowPaths,
List<Pattern>? allowHosts,
List<String>? allowMethods,
List<Pattern> bypassHosts = const [],
}) {}