EndpointLogsMock class
- Implemented types
Constructors
Properties
- caller → EndpointCaller
-
Holds a reference to the caller class.
finalinherited
- client ↔ ServerpodClientShared
-
Reference to the client.
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the endpoint this reference is connected to.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
SerializableModel> -
Stream of messages sent from an endpoint that supports streaming.
no setterinherited
Methods
-
fetchBuildLog(
{required String cloudProjectId, required String attemptId, int? limit}) → Stream< LogRecord> -
Fetches the build log records for the specified deploy attempt.
inherited
-
fetchRecords(
{required String cloudProjectId, DateTime? beforeTime, DateTime? afterTime, int? limit}) → Stream< LogRecord> -
Fetches log records from the specified project.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetStream(
) → void -
Resets web socket stream, so it's possible to re-listen to endpoint
streams.
inherited
-
sendStreamMessage(
SerializableModel message) → Future< void> -
Sends a message to the endpoint's stream.
inherited
-
tailRecords(
{required String cloudProjectId, int? limit}) → Stream< LogRecord> -
Tails log records from the specified project.
Continues until the client unsubscribes,
limit
is reached, or the internal max limit is reached.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited