Server
@Serializable
Constructors
Link copied to clipboard
constructor(files: Server.Files, port: Int = 8080, logging: Server.Logging = Logging(), cors: Server.Cors = Cors(), redirects: List<Server.Redirect> = emptyList(), streaming: Server.Streaming = Streaming(), nativeLibraries: List<Server.NativeLibrary> = emptyList())
Types
Link copied to clipboard
Configuration for CORS.
Link copied to clipboard
A collection of files and paths needed by the Kobweb server to serve its files.
Link copied to clipboard
@Serializable
Configuration for logging.
Link copied to clipboard
A name-to-path mapping provided as a way for users to explicitly tell Kobweb which native library file to load.