MercuryClient class

Constructors

MercuryClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
addReactionToMessage(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
addUserToConversation(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
createConversation(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
createUser(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
deleteConversation(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
deleteMessage(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
deleteReactionFromMessage(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
deleteUser(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
editMessage(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
getAllUsers(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
getConversationById(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
getConversationByUsers(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
getMessage(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
getUser(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
heartbeat(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
listContacts(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
listConversations(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
listMessages(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ping(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
receive(MercuryRequest request, {CallOptions? options}) → ResponseStream<MercuryResponse>
removeUserFromConversation(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
send(MercuryRequest request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
toString() String
A string representation of this object.
inherited
uploadFile(Stream<MercuryRequest> request, {CallOptions? options}) → ResponseFuture<MercuryResponse>
uploadImage(Stream<MercuryRequest> request, {CallOptions? options}) → ResponseFuture<MercuryResponse>

Operators

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