SseModule class

The SSE module is responsible for managing Server-Sent Events (SSE) connections.

Inheritance

Constructors

SseModule({Duration? keepAlive})
The constructor for SseModule.

Properties

controllers List<Controller>
The controllers property contains the controllers of the module.
getter/setter pairinherited
exportedProviders List<Provider>
The options property contains the options of the module.
no setterinherited
exports List<Type>
The exports property contains the exports of the module.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
imports List<Module>
The imports property contains the modules that are imported in the module.
getter/setter pairinherited
isGlobal bool
The isGlobal property is used to define if the module is global.
finalinherited
keepAlive Duration?
The duration for which the SSE connection should be kept alive.
final
providers List<Provider>
The providers property contains the providers of the module.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
The imports property contains the modules that are imported in the module.
finalinherited

Methods

configure(MiddlewareConsumer consumer) → void
Configures the middleware for the module.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAsync(ApplicationConfig config) Future<DynamicModule>
The register method is used to register the module.
override
toString() String
A string representation of this object.
inherited

Operators

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