Package-level declarations

Types

Link copied to clipboard
interface Acceptor
Link copied to clipboard
enum Bind : Enum<Bind>
Link copied to clipboard
interface Child
Link copied to clipboard
interface Connection

One accepted socket, already past the TLS handshake setup when the listener is TLS.

Link copied to clipboard
interface ServeSystem

Everything drift serve needs from the operating system.

Link copied to clipboard
interface SiteFiles
Link copied to clipboard
class TlsFiles(val cert: String, val key: String)

PEM files; the key is PKCS#8 on the JVM and anything OpenSSL reads on native.

Functions

Link copied to clipboard
expect fun systemServe(): ServeSystem
actual fun systemServe(): ServeSystem
actual fun systemServe(): ServeSystem
actual fun systemServe(): ServeSystem
actual fun systemServe(): ServeSystem