class Hatty::Server

Overview

Basically HTTP::Server but with routing.

Defined in:

hatty/server.cr
hatty/testing/testing.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(port : Int32) #

[View source]

Instance Method Detail

def handlers : Array(HTTP::Handler) #

[View source]
def native : HTTP::Server #

[View source]
def start #

Starts Hatty.


[View source]
def stop #

[View source]