Package me.nullicorn.msmca.http

Types

Link copied to clipboard
typealias Headers = Map<String, String>

Keys-value pairs (both strings) that are either sent in an HTTP Request, or received in an HTTP Response.

Link copied to clipboard
interface HttpClient

A simple HTTP client used to access online services for Xbox Live & Minecraft.

Link copied to clipboard
interface Request

An HTTP request with an optional JSON body.

Link copied to clipboard
data class Response(status: Int, headers: Headers, body: String)

Information sent by a server in response to an HTTP request.