Interface IDelayedEvents
Acts on members' delayed events (MSC4140) at their homeservers: restarts them, or sends them at once.
Namespace: Uniform.LiveKit.Authorization
Assembly: Uniform.LiveKit.Authorization.dll
Syntax
public interface IDelayedEvents
Methods
| Edit this page View SourceUpdateAsync(string, string, string, CancellationToken)
Restart or send delayed event delayId of a user of serverName: action is restart or send; return false when the homeserver has no such delayed event any more, e.g. as it was sent or cancelled.
Declaration
Task<bool> UpdateAsync(string serverName, string delayId, string action, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serverName | |
| string | delayId | |
| string | action | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<bool> |
Exceptions
| Type | Condition |
|---|---|
| HttpRequestException | When the homeserver cannot be reached, or fails otherwise. |