ChalonaHttpServer class

Servidor HTTP que maneja solicitudes HTTP y WebSocket Proporciona una API REST y comunicación bidireccional vía WebSocket

Inheritance

Constructors

ChalonaHttpServer({int port = 3000, required ChalonaServer server})
Constructor que inicializa el servidor HTTP y WebSocket

Properties

hashCode int
The hash code for this object.
no setterinherited
port int
Puerto en el que escuchará el servidor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server ChalonaServer
Servidor principal que maneja la lógica de negocio
getter/setter pair
wsServer ChalonaSocketIOServer
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(String path, {Map data = const {}, List<ChalonaFile> files = const []}) Future<ChalonaResponse>
override
toString() String
A string representation of this object.
inherited

Operators

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