BaseAppApiHandler<TConfig extends BaseServerConfig> class
The base API Handler implementation for fulfilling requests.
Constructors
- BaseAppApiHandler({required TConfig config, required Client httpClient})
Properties
- config → TConfig
-
The
TConfig
instance from the registry.final - hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
The
http.Client
used for making requests. This can be used for custom HTTP calls by a derived API.final - 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
-
serveSpaFrom(
{required CloudFrontOriginRequestEvent event, String defaultFileName = 'index.html'}) → Future< CloudFrontOriginResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited