Package-level declarations

Types

Link copied to clipboard
class ApiRequest<ResultT>(val method: Method, val path: String, val parameters: Parameters = emptyMap(), val body: Serializer.ObjectCtx? = null, val serde: Serde, val processResponse: (ApiResponse) -> ResultT) : Request<Serializer.ObjectCtx, ApiResponse, ResultT>
Link copied to clipboard
class ApiResponse(val statusCode: Int, val headers: Map<String, List<String>>, val content: Deserializer.ObjectCtx) : Response<Deserializer.ObjectCtx>
Link copied to clipboard
sealed class Auth
Link copied to clipboard
Link copied to clipboard
class BulkRequest<ResultT>(val method: Method, val path: String, val parameters: Parameters = emptyMap(), val body: List<Serializer.ObjectCtx>, val serde: Serde.OneLineJson, val processResponse: (ApiResponse) -> ResultT) : Request<List<Serializer.ObjectCtx>, ApiResponse, ResultT>
Link copied to clipboard
class CatRequest<ResultT>(catPath: String, val parameters: Parameters = emptyMap(), val errorSerde: Serde, val processResponse: (CatResponse) -> ResultT) : Request<Nothing, CatResponse, ResultT>
Link copied to clipboard
class CatResponse(val statusCode: Int, val headers: Map<String, List<String>>, val content: List<List<String>>) : Response<List<List<String>>>
Link copied to clipboard
data class CausedBy(val type: String, val reason: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class ElasticsearchTransport(val baseUrl: String, config: ElasticsearchTransport.Config)
Link copied to clipboard
data class ErrorCause(val type: String, val reason: String, val resourceId: String?, val resourceType: String?, val line: Int?, val col: Int?)
Link copied to clipboard
data class ErrorReason(val type: String, val reason: String, val resourceId: String?, val resourceType: String?, val script: String?, val scriptStack: List<String>, val causedBy: CausedBy?)
Link copied to clipboard
data class FailedShard(val shard: Int, val index: String, val node: String, val reason: ErrorReason)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
enum Method : Enum<Method>
Link copied to clipboard
Link copied to clipboard
class PlainRequest(val method: Method, val path: String, val parameters: Parameters, val content: ByteArray, val textContent: String?, val contentType: String, val contentEncoding: String?, val acceptContentType: String?)
Link copied to clipboard
class PlainResponse(val statusCode: Int, val headers: Map<String, List<String>>, val contentType: String?, val content: String)
Link copied to clipboard
abstract class Request<out BodyT, ResponseT, out ResultT>
Link copied to clipboard
interface Response<T>
Link copied to clipboard
sealed class ResponseResult<T>
Link copied to clipboard
interface Tracker
Link copied to clipboard
sealed class TransportError

Functions

Link copied to clipboard
fun Parameters(vararg params: Pair<String, Any?>): Parameters
Link copied to clipboard