ApiHttpServiceConfig

data class ApiHttpServiceConfig(val address: String, val aoneName: String? = null, val method: String, val path: String, val timeout: Int)

Constructors

Link copied to clipboard
fun ApiHttpServiceConfig(address: String, aoneName: String? = null, method: String, path: String, timeout: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The address of backend service.

Link copied to clipboard
val aoneName: String? = null
Link copied to clipboard

The method of the api, including 'GET','POST','PUT' etc.

Link copied to clipboard

The request path of the api.

Link copied to clipboard

Backend service time-out time; unit: millisecond.