Keeps track of internet connectivity and notifies its listeners when the
internet connection is either lost or regained. For most use cases, use
the concrete FlutterConnectivityMonitor class in the serverpod_flutter
package.
The file uploader uploads files to Serverpod's cloud storage. On the server
you can setup a custom storage service, such as S3 or Google Cloud. To
directly upload a file, you first need to retrieve an upload description
from your server. After the file is uploaded, make sure to notify the server
by calling the verifyDirectFileUpload on the current Session object.
DEPRECATED: This class is deprecated and will be removed in version 2.1.
Please implement the SerializableModel interface instead for creating serializable
models.
The SerializationManager is responsible for creating objects from a
serialization, but also for serializing objects. This class is typically
extended by generated code.
Defines the interface of the delegate that performs the actual request to the server
and returns the response data.
The delegate is used by ServerpodClientShared to perform the actual request.
It's overridden in different versions depending on if the dart:io library
is available.
Superclass with shared methods for handling communication with the server.
Is typically overridden by generated code to provide implementations of methods for calling the server.
The StreamingConnection handler manages the web socket connection and its
state. It will automatically reconnect to the server if the connection is
lost. The listener will be notified whenever the connection state changes
and once every second when counting down to reconnect. The time between
reconnection attempts is specified with retryEverySeconds, default is 5
seconds.
Information about a user. The UserInfo should only be shared with the user
itself as it may contain sensitive information, such as the users email.
If you need to share a user's info with other users, use the
UserInfoPublic instead. You can retrieve a UserInfoPublic through the
toPublic() method.
The name of the default Serverpod scheme for HTTP "authorization" headers.
Note, the scheme name is case-insensitive and should be compared in a case-insensitive manner.
Returns the auth key from an auth value that has potentially been wrapped.
This operation is the inverse of wrapAsBasicAuthHeaderValue.
If null is provided, null is returned.