Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Wgctl::Server::Daemon
Inherits
Reference
<
Object
Constructors
new
(context :
CLI::Context
=
CLI::Context
.new, token_store :
Auth::TokenStore
=
Auth::TokenStore
.new, host :
String
= "0.0.0.0", port :
Int32
= 7443, cert_file :
String
|
Nil
= nil, key_file :
String
|
Nil
= nil, cors_origin :
String
= "*")
Source
Instance methods
build_server
Source
cert_file
Source
cert_file=
(cert_file :
String
|
Nil
)
Source
context
Source
context=
(context :
CLI::Context
)
Source
cors_origin
Source
cors_origin=
(cors_origin :
String
)
Source
host
Source
host=
(host :
String
)
Source
key_file
Source
key_file=
(key_file :
String
|
Nil
)
Source
port
Source
port=
(port :
Int32
)
Source
server
Source
start
Source
stop
Source
token_store
Source
token_store=
(token_store :
Auth::TokenStore
)
Source