component method

  1. @override
Component component(
  1. BuildContext context
)
override

Implementation

@override
Component component(BuildContext context) {
  return Gateway(children: [
    Route("ws", root: SimpleEndpoint(_ws)),
    Route("ws_req", root: SimpleEndpoint(_wsRequest))
  ]);
}