IRealtimeClient Interface

Definição

Representa um cliente em tempo real.

public interface class IRealtimeClient : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public interface IRealtimeClient : IDisposable
public interface IRealtimeClient : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type IRealtimeClient = interface
    interface IDisposable
type IRealtimeClient = interface
    interface IDisposable
Public Interface IRealtimeClient
Implements IDisposable
Derivado
Atributos
Implementações

Observações

Esta interface fornece métodos para criar e gerir sessões em tempo real.

Métodos

Name Description
CreateSessionAsync(RealtimeSessionOptions, CancellationToken)

Cria uma nova sessão em tempo real com as opções especificadas.

Dispose()

Realiza tarefas definidas pela aplicação associadas à libertação, libertação ou reinício de recursos não geridos.

(Herdado de IDisposable)
GetService(Type, Object)

Pergunta a IRealtimeClient um objeto do tipo serviceTypeespecificado .

Métodos da Extensão

Name Description
AsBuilder(IRealtimeClient)

Cria um novo RealtimeClientBuilder uso innerClient como seu cliente interno.

GetRequiredService(IRealtimeClient, Type, Object)

Pede IRealtimeClient um objeto do tipo serviceType especificado e lança uma exceção caso não esteja disponível.

GetRequiredService<TService>(IRealtimeClient, Object)

Pede um IRealtimeClient objeto do tipo TService e lança uma exceção se não estiver disponível.

GetService<TService>(IRealtimeClient, Object)

Pede a IRealtimeClient um objeto do tipo TService.

Aplica-se a