http-rpc-client / net.corda.v5.httprpc.client.internal.remote / RemoteClient

RemoteClient

interface RemoteClient

RemoteClient implementations are responsible for making remote calls to the server and returning the response, after potentially deserializing.

Properties

baseAddress

abstract val baseAddress: String

Functions

call

abstract fun <T> call(verb: HttpVerb, webRequest: WebRequest<T>, responseType: Type, context: RequestContext): WebResponse<Any>
abstract fun <T> call(verb: HttpVerb, webRequest: WebRequest<T>, context: RequestContext): WebResponse<String>

Inheritors

RemoteUnirestClient

class RemoteUnirestClient : RemoteClient