ClientOptions

fs2.grpc.client.ClientOptions
See theClientOptions companion object
sealed abstract class ClientOptions

Attributes

Companion
object
Source
ClientOptions.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def configureCallOptions(fn: CallOptions => CallOptions): ClientOptions

Function that is applied on io.grpc.CallOptions.DEFAULT for each new RPC call.

Function that is applied on io.grpc.CallOptions.DEFAULT for each new RPC call.

Attributes

Source
ClientOptions.scala
def withErrorAdapter(ea: PartialFunction[StatusRuntimeException, Exception]): ClientOptions

Adapt io.grpc.StatusRuntimeException into a different exception.

Adapt io.grpc.StatusRuntimeException into a different exception.

Attributes

Source
ClientOptions.scala

Prefetch up to @param n messages from a server. The client will try to keep the internal buffer filled according to the provided value.

Prefetch up to @param n messages from a server. The client will try to keep the internal buffer filled according to the provided value.

If the provided value is less than 1 it defaults to 1.

Attributes

Source
ClientOptions.scala

Concrete fields

val callOptionsFn: CallOptions => CallOptions

Attributes

Source
ClientOptions.scala
val errorAdapter: PartialFunction[StatusRuntimeException, Exception]

Attributes

Source
ClientOptions.scala
val prefetchN: Int

Attributes

Source
ClientOptions.scala