class TCal::Server

Overview

The TCal HTTP server.

Defined in:

t_cal/server.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def start #

Starts the server. Blocks until the process is terminated.


[View source]