MillRpcServerToClient

mill.rpc.MillRpcServerToClient
enum MillRpcServerToClient[+Data]

Protocol messages that are sent from server to the client.

Attributes

Source
MillRpcServerToClient.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Ask[+Data](id: MillRpcRequestId, data: Data)

Server is asking the client to do something. Client should respond with MillRpcClientToServer.Response.

Server is asking the client to do something. Client should respond with MillRpcClientToServer.Response.

Value parameters

id

the request id server has assigned to this message.

Attributes

Source
MillRpcServerToClient.scala
final case class Log[+Data](message: Message)

We want to send a message to be logged in the client.

We want to send a message to be logged in the client.

Attributes

Source
MillRpcServerToClient.scala
final case class Response[+Data](id: MillRpcRequestId, data: Either[RpcThrowable, Data])

Response to a MillRpcClientToServer.Ask which either succeeded or failed.

Response to a MillRpcClientToServer.Ask which either succeeded or failed.

Attributes

Source
MillRpcServerToClient.scala
final case class Stderr[+Data](msg: Message)

We want to send a message to the client's stderr.

We want to send a message to the client's stderr.

Attributes

Source
MillRpcServerToClient.scala
final case class Stdout[+Data](msg: Message)

We want to send a message to the client's stdout.

We want to send a message to the client's stdout.

Attributes

Source
MillRpcServerToClient.scala