ChatServiceClient

io.github.positionpal.proto.ChatServiceClient
See theChatServiceClient companion object

Attributes

Companion
object
Graph
Supertypes
trait AkkaGrpcClient
trait ChatService
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def addRequestHeader(key: String, value: String): ChatServiceClient

The same client instance decorated to add the given key and value to the metadata of any request issued.

The same client instance decorated to add the given key and value to the metadata of any request issued.

Attributes

Definition Classes
AkkaGrpcClient

Inherited methods

def retrieveLastMessages(): SingleResponseRequestBuilder[RetrieveLastMessagesRequest, MessageResponse]

Lower level "lifted" version of the method, giving access to request metadata etc. prefer retrieveLastMessages(io.github.positionpal.proto.RetrieveLastMessagesRequest) if possible.

Lower level "lifted" version of the method, giving access to request metadata etc. prefer retrieveLastMessages(io.github.positionpal.proto.RetrieveLastMessagesRequest) if possible.

Attributes

Inherited from:
ChatServiceClientPowerApi

Inherited and Abstract methods

def close(): Future[Done]

Initiates a shutdown in which preexisting and new calls are cancelled.

Initiates a shutdown in which preexisting and new calls are cancelled.

This method is only valid for clients that use an internal channel. If the client was created with a shared user-provided channel, the channel itself should be closed.

Attributes

Throws
akka.grpc.GrpcClientCloseException

if client was created with a user-provided akka.grpc.GrpcChannel.

Inherited from:
AkkaGrpcClient
def closed: Future[Done]

A Future that completes successfully when shutdown via close() or exceptionally if a connection can not be established or reestablished after maxConnectionAttempts.

A Future that completes successfully when shutdown via close() or exceptionally if a connection can not be established or reestablished after maxConnectionAttempts.

Attributes

Inherited from:
AkkaGrpcClient

Attributes

Inherited from:
ChatService