CorsOriginController class
! --------------------------------------------------------------------------
- Inheritance
-
- Object
- HttpController
- CorsOriginController
Constructors
Properties
- allowCredentials → bool
-
final
-
allowedHeaders
→ Set<
String> -
final
-
allowedMethods
→ Set<
String> -
final
-
allowedOrigins
→ Set<
String> -
final
- exposeHeaders → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxAge → Duration
-
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
-
onError(
HttpRequest request, Object? error, StackTrace stackTrace) → void -
inherited
-
onRequest(
HttpRequest request) → FutureOr< HttpControllerBehavior> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited