ApplicationOptions class

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

ApplicationOptions()

Properties

address ↔ dynamic
The address to listen for HTTP requests on.
getter/setter pair
certificateFilePath String?
The path to a SSL certificate.
getter/setter pair
configurationFilePath String?
The absolute path of the configuration file for this application.
getter/setter pair
context Map<String, dynamic>
Contextual configuration values for each ApplicationChannel.
final
hashCode int
The hash code for this object.
no setterinherited
isIpv6Only bool
Whether or not the application should only receive connections over IPv6.
getter/setter pair
isUsingClientCertificate bool
Whether or not the application's request controllers should use client-side HTTPS certificates.
getter/setter pair
port int
The port to listen for HTTP requests on.
getter/setter pair
privateKeyFilePath String?
The path to a private key.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

parser → ArgParser
final