class TCal::Server
- TCal::Server
- Reference
- Object
Overview
The TCal HTTP server.
Defined in:
t_cal/server.crConstructors
-
.new(address : String, port : Int32, origin : String)
Creates a server instance.
Instance Method Summary
-
#start
Starts the server.
Constructor Detail
def self.new(address : String, port : Int32, origin : String)
#
Creates a server instance.
When started the server will bind to address
on the specified port
.
The specified canonical origin
is passed to TCal::Handlers::Canonize
.