ServerUniverseEdge class
- Inheritance
-
- Object
- ServerUniverse
- ServerUniverseEdge
Constructors
- ServerUniverseEdge({required RequestHandlerMore onError, required RequestHandler onNotFound, LogType logLevel = LogType.info, String pathPrefix = "", int simultaneousProcessing = 1000000000, ServerUniverseLogLevelType server_universeDartLogLevelType = ServerUniverseLogLevelType.all, ServerUniversePlatformType server_universeDartPlatformType = ServerUniversePlatformType.supabase})
Properties
- app → ServerUniverse
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- onError → RequestHandlerMore
-
final
- onNotFound → RequestHandler
-
final
- pathPrefix ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
server_universeDartFunctions
↔ List<
ServerUniverseFunction> -
getter/setter pair
- server_universeDartLogLevelType ↔ ServerUniverseLogLevelType
-
getter/setter pair
- server_universeDartPlatformType ↔ ServerUniversePlatformType
-
getter/setter pair
Methods
-
all(
String path, RequestHandler onRequest) → void -
createRoute(
{required String path, required RegExp method, required RequestHandler onRequest}) → void -
delete(
String path, RequestHandler onRequest) → void -
ensureInitialized(
) → void -
override
-
get(
String path, RequestHandler onRequest) → void -
getServerUniverseFunctionApiByRequest(
{required Request request}) → FutureOr< ServerUniverseFunction?> -
head(
String path, RequestHandler onRequest) → void -
listen(
{int port = 3000, dynamic bindIp = '0.0.0.0', int backlog = 0}) → Future -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
options(
String path, RequestHandler onRequest) → void -
parsePattern(
String path) → String -
override
-
patch(
String path, RequestHandler onRequest) → void -
post(
String path, RequestHandler onRequest) → void -
propfind(
String path, RequestHandler onRequest) → void -
put(
String path, RequestHandler onRequest) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited