ApplicationOptions class Null safety
An object that contains configuration values for an Application.
You use this object in an ApplicationChannel to manage external configuration data for your application.
Constructors
Properties
- address ↔ dynamic
-
The address to listen for HTTP requests on.
read / write
- certificateFilePath ↔ String?
-
The path to a SSL certificate.
read / write
- configurationFilePath ↔ String?
-
The absolute path of the configuration file for this application.
read / write
-
context
↔ Map<
String, dynamic> -
Contextual configuration values for each ApplicationChannel.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isIpv6Only ↔ bool
-
Whether or not the application should only receive connections over IPv6.
read / write
- isUsingClientCertificate ↔ bool
-
Whether or not the application's request controllers should use client-side HTTPS certificates.
read / write
- port ↔ int
-
The port to listen for HTTP requests on.
read / write
- privateKeyFilePath ↔ String?
-
The path to a private key.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited