codemelted_network library

Provides the collection of all network related items from the Browser APIs minus webrtc. Any communication you need to make with a backend server are handled via this library.

Classes

CBroadcastChannel
Wrapper object for the Broadcast Channel API. Constructed via the CodeMeltedNetwork API and provides the flutter bindings for working with the channel.
CEventSource
The EventSource interface is web content's interface to server-sent events. An EventSource instance opens a persistent connection to an HTTP server, which sends events in text/event-stream format. The connection remains open until closed.
CFetchResponse
The response object that results from the module CodeMeltedNetwork.fetch call.
CodeMeltedNetwork
CWindowMessenger
Wrapper object for receiving and posting messages between pages.

Enums

CFetchAction
The actions supported by the module fetch call.

Properties

codemelted_data_broker CodeMeltedNetwork
Sets up the namespace for the CodeMeltedNetwork object.
final

Typedefs

COnMessageListener = Future<void> Function(CObject)
Message handler that receives a JSON object with two fields. "type" which equals either "error" or "data". Then "data" which contains the actual data received.
COnWindowMessengerListener = Future<void> Function(String, dynamic)
Event listener for messages received from different loaded pages.