JournalHttpInterface class interface

This class send add/delete request of ServiceOfJournal to server.

It used: DeleteClientServiceRequest, AddClientServiceRequest and httpClientProvider.

Getting services from server is not yet supported, and probably will not. Maybe only allow to get today services? (not really useful and add security risks...)

Constructors

JournalHttpInterface({required WorkerKey wKey, required Client http})
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
http Client
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
wKey WorkerKey
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAdd(ServiceOfJournal serv, {String? body}) Future<(ServiceState?, String)>
Add service to remote DB.
sendDelete(ServiceOfJournal serv) Future<(ServiceState?, String)>
Delete service from remote DB.
toString() String
A string representation of this object.
inherited

Operators

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