Cors class

Inheritance

Constructors

Cors({String origin = '*'})

Properties

hashCode int
The hash code for this object.
no setterinherited
origin String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(Storm app) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Request request, Response response) Response
override
toString() String
A string representation of this object.
inherited

Operators

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