DoxResponse class
Constructors
- DoxResponse(dynamic content)
Properties
- content → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
contentType(
ContentType contentType) → DoxResponse - set content type such as json, text, html
- Set cookie
-
header(
dynamic key, dynamic value) → DoxResponse - set headers
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
statusCode(
int code) → DoxResponse - Set response status code default 200
-
toString(
) → String -
A string representation of this object.
inherited
-
withHeaders(
Map< String, dynamic> values) → DoxResponse - Set list of headers by Map
-
write(
HttpRequest request) → dynamic - This function for internal use only
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited