mno_server library

Classes

AssetProvider
This class abstract how a resource is retrieved.
AssetsRequestHandler
This RequestHandler is used to provide access to assets
FetcherRequestHandler
Serves the resources of a Publication Fetcher from a ServerBloc.
RequestHandler
The RequestHandler provides the means to send data to the HTTP response.
ServerBloc
A ServerBloc is used to start/stop a server instance.
ServerClosed
This is the state for when the server has been closed.
ServerEvent
Root class for ServerBloc events.
ServerNotStarted
This is the default state, before the server has been started.
ServerStarted
This is the state when the server has been started.
ServerState
Root class for ServerBloc states.
ShutdownServer
This event is sent to shutdown the server.
StartServer
This event is sent to start the server.

Extensions

ContentTypeMediaType on MediaType
Extends MediaType to add conversion to ContentType

Typedefs

TransformData = Uint8List Function(String href, Uint8List data)
Function to transform a response data based on href provided.