GetServer class

Inheritance

Constructors

GetServer({Key? key, String host = '0.0.0.0', int port = 8080, String? certificateChain, bool shared = true, String? privateKey, String? password, bool cors = false, String corsUrl = '*', Widget? onNotFound, bool useLog = true, String? jwtKey, Widget? home, Bindings? initialBinding, List<GetPage>? getPages})

Properties

certificateChain String?
finalinherited
controller GetServerController
finalinherited
cors bool
finalinherited
corsUrl String
finalinherited
getPages List<GetPage>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
home Widget?
finalinherited
host String
finalinherited
initialBinding Bindings?
finalinherited
jwtKey String?
finalinherited
key Key?
finalinherited
onNotFound Widget?
finalinherited
password String?
finalinherited
port int
finalinherited
privateKey String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shared bool
finalinherited
useLog bool
finalinherited

Methods

build(BuildContext? context) Widget
inherited
createElement(ContextRequest request, GetSocket? getSocket) StatelessElement
Inflates this configuration to a concrete instance. A given widget can be included in the tree zero or more times. In particular a given widget can be placed in the tree multiple times. Each time a widget is placed in the tree, it is inflated into an Element, which means a widget that is incorporated into the tree multiple times will be inflated multiple times.
inherited
delete(String name, NodeWidgetCallback build, {List<String?>? keys}) → void
inherited
get(String name, NodeWidgetCallback build, {List<String?>? keys}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String name, NodeWidgetCallback build, {List<String?>? keys}) → void
inherited
put(String name, NodeWidgetCallback build, {List<String?>? keys}) → void
inherited
toString() String
A string representation of this object.
inherited
ws(String name, SocketBuilder build, {List<String?>? keys}) → void
inherited

Operators

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