Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mocr
master
Mocr
Parser
Config
Route
Verb
Server
Verb
Generated using Crystal 1.14.0
2024-11-26 17:02:51 UTC
class
Mocr::
Server
Mocr::Server
Reference
Object
Defined in:
mocr/server.cr
Constructors
.new
(config : Parser::Config)
Instance Method Summary
#config
: Parser::Config
#config=
(config : Parser::Config)
#run
(port : Int32 | Nil =
nil
)
Constructor Detail
def self.
new
(config :
Parser::Config
)
#
[
View source
]
Instance Method Detail
def
config
:
Parser::Config
#
[
View source
]
def
config=
(config :
Parser::Config
)
#
[
View source
]
def
run
(port : Int32 | Nil =
nil
)
#
[
View source
]