Package-level declarations

Types

Link copied to clipboard
fun interface CommonLoggerFactory
Link copied to clipboard
fun interface ExceptionsHandler
Link copied to clipboard
interface HttpClient
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface ReplEnum<T : Enum<*>>
Link copied to clipboard
Link copied to clipboard
interface Request
Link copied to clipboard
Link copied to clipboard
interface Response
Link copied to clipboard
data class ResponseImpl(val status: Status, val text: String) : Response
Link copied to clipboard
class ResponseWrapper(response: Response, val url: String) : Response
Link copied to clipboard
Link copied to clipboard
data class Status(val code: Int)

Properties

Link copied to clipboard
val ResponseWrapper.json: JsonElement
Link copied to clipboard
val ResponseWrapper.jsonArray: JsonArray
Link copied to clipboard
Link copied to clipboard
val ResponseWrapper.jsonObject: JsonObject
Link copied to clipboard
Link copied to clipboard
val ResponseWrapper.jsonOrNull: JsonElement?
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun buildRequest(buildAction: RequestBuilder.() -> Unit): Request
fun buildRequest(request: Request, buildAction: RequestBuilder.() -> Unit): Request
fun buildRequest(method: String, url: String, headers: Map<String, String> = mapOf(), body: String? = null, buildAction: RequestBuilder.() -> Unit = {}): Request
Link copied to clipboard
inline fun <T> ResponseWrapper.decodeJson(): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If this function returns true for the code, it will be interpreted as Jupyter REPL command

Link copied to clipboard

Preprocesses REPL command and returns its value, or null in case it's invalid, packed with string used for value extraction

Link copied to clipboard
Link copied to clipboard
fun RequestBuilder.withJson(json: JsonElement): RequestBuilder