HttpClientBuilder

rpc.HttpClientBuilder
See theHttpClientBuilder companion object
case class HttpClientBuilder(path: String, getJwt: Option[() => String]) extends ClientBuilder

The HTTP client builder will make HTTP requests using HTTP to the backend. . It will encode the input as the body using upickle and it will parse the output using upickle as well.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def implement[Input, Output](methodName: String, input: Input, inputCodec: ReadWriter[Input], outputCodec: ReadWriter[Output]): Future[Output]
def implementStream[Input, Output](methodName: String, input: Input, inputCodec: ReadWriter[Input], outputCodec: ReadWriter[Output]): EventStream[Output]
inline def makeClient[Service]: Service

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product