A set of values to configure an instance of Application.

Instances of this type are configured by the command-line arguments for aqueduct serve and passed to RequestSink instances in their constructor. Instances of this type are also passed to to a RequestSink subclass's initializeApplication method before it is instantiated. This allows values to be modified prior to starting the server. See RequestSink for example usage.

Constructors

ApplicationConfiguration()

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
isDocumenting → bool

Whether or not this application is being used to document an API.

read / write
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
options → Map<String, dynamic>

Options for each RequestSink to use when in this application.

read / write
port → int

The port to listen for HTTP requests on.

read / write
privateKeyFilePath → String

The path to a private key.

read / write
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited