This module defines APIs for defining HTTP endpoints and executing HTTP servers.
A [[ceylon.http.server::Server]] represents a HTTP
server. A new `Server` may be defined using
[[ceylon.http.server::newServer]].
void runServer() {
//create a HTTP server
value server = newServer {
//an endpoint, on the path /hello
Endpoint {
path = startsWith("/hello");
//handle requests to this path
service(Request request, ...
License | Apache |
---|---|
Tags | ceylonhttpserver |
HomePage | http://ceylon-lang.org |
Ranking | #166282 in MvnRepository (See Top Artifacts) |
Used By | 2 artifacts |