GetServer constructor

GetServer({
  1. Key? key,
  2. String host = '0.0.0.0',
  3. int port = 8080,
  4. String? certificateChain,
  5. bool shared = true,
  6. String? privateKey,
  7. String? password,
  8. bool cors = false,
  9. String corsUrl = '*',
  10. Widget? onNotFound,
  11. bool useLog = true,
  12. String? jwtKey,
  13. Widget? home,
  14. Bindings? initialBinding,
  15. List<GetPage>? getPages,
})

Implementation

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,
}) : super(
        key: key,
        host: host,
        port: port,
        certificateChain: certificateChain,
        shared: shared,
        privateKey: privateKey,
        password: password,
        cors: cors,
        corsUrl: corsUrl,
        onNotFound: onNotFound,
        useLog: useLog,
        jwtKey: jwtKey,
        home: home,
        initialBinding: initialBinding,
        getPages: getPages,
      );