Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gemini
main
Gemini
Client
InvalidStatusCode
Response
Success
Server
Context
Request
Response
Handler
HandlerProc
InternalRedirectHandler
LogHandler
MissingCertificateChain
MissingPrivateKey
StaticHandler
Status
Generated using Crystal 1.10.1
2024-02-25 02:30:50 UTC
class
Gemini::
Server::
StaticHandler
Gemini::Server::StaticHandler
Reference
Object
Included Modules
Gemini::Server::Handler
Defined in:
gemini/server/handlers/static_handler.cr
Constructors
.new
(root : String, fallthrough : Bool =
false
)
Instance Method Summary
#call
(context)
Instance methods inherited from module
Gemini::Server::Handler
call(context : Gemini::Server::Context)
call
,
call_next(context : Gemini::Server::Context)
call_next
,
next : Handler | HandlerProc | Nil
next
,
next=(next __arg0 : Handler | HandlerProc | Nil)
next=
Constructor Detail
def self.
new
(root : String, fallthrough : Bool =
false
)
#
[
View source
]
Instance Method Detail
def
call
(context)
#
[
View source
]