fluvvm library

Classes

NetworkRequest
This class is a wrapper around http and provides a simple interface for making network requests.
NotifiedWidget<T extends Viewmodel<FluvvmState, FluvvmIntent>>
A widget that is notified when the viewmodel changes.
Viewmodel<S extends FluvvmState, I extends FluvvmIntent>
Viewmodel to be attached/bound to a NotifiedWidget.

Enums

NetworkError
Response codes: 400 - 499 = NetworkError.badRequest Response codes: 500 - 599 = NetworkError.unauthorized Other response codes = NetworkError.unkown
NetworkMethod
HTTP methods.
NetworkRequestError
Thrown when NetworkRequest usage is incorrect.

Mixins

FluvvmIntent
Use this mixin to create an intent enum. MyIntent with FluvvmIntent { ... }
FluvvmState
Use this mixin to create a state enum. MyState with FluvvmState { ... }

Exceptions / Errors

NetworkException
Exception thrown when a network request fails.