ServerRequest

class ServerRequest(val address: DeviceAddress, val method: String, val path: String, val body: ByteArray)

What an authenticated request is about: the device it acts for, the HTTP method, the canonical path (ServerApiPaths) and the exact bytes of the HTTP request body (empty for a request without body).

Constructors

Link copied to clipboard
constructor(address: DeviceAddress, method: String, path: String, body: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String