Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fast-http-server
v0.6.0
Top Level Namespace
Fast
Http
Server
FastHttpServer
Built with Crystal 1.9.2
2023-10-08 08:49:09 UTC
class
FastHttpServer
FastHttpServer
HTTP::StaticFileHandler
Reference
Object
Defined in:
fast-http-server.cr
Constructors
.new
(publicdir : String =
"./"
, directory_listing =
true
)
Instance Method Summary
#call
(context)
#port
: Int32
#port=
(port : Int32)
Constructor Detail
def self.
new
(publicdir : String =
"./"
, directory_listing =
true
)
#
[
View source
]
Instance Method Detail
def
call
(context)
#
[
View source
]
def
port
: Int32
#
[
View source
]
def
port=
(port : Int32)
#
[
View source
]