Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Construct a Finagle Service interface for a Scrooge-generated thrift object.
Construct a Finagle Service interface for a Scrooge-generated thrift object.
E.g. given a thrift service
service Logger { string log(1: string message, 2: i32 logLevel); i32 getLogSize(); }
you can construct a client interface with a Finagle Service per thrift method:
val loggerService = Thrift.newServiceIface[Logger.ServiceIface]("localhost:8000") val response = loggerService.log(Logger.Log.Args("log message", 1))
Address of the service to connect to, in the format accepted by Resolver.eval.
The builder type is generated by Scrooge for a thrift service.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
(Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
Create a new client of type Iface
, which must be generated
by either Scrooge or
thrift-finagle.
(Since version 6.7.x) Use destination names via newIface(String) or newIface(Name)
A mixin trait to provide a rich Thrift client API.