class

Sellia::Server::Server

Inherits Reference / Object

Constants

Log = ::Log.for("sellia.server")

Constructors

new(host : String = "0.0.0.0", port : Int32 = 3000, domain : String = "localhost", require_auth : Bool = false, master_key : String | Nil = nil, use_https : Bool = false, rate_limiting : Bool = true, landing_enabled : Bool = true)
Source

Instance methods

domain
Source
domain=(domain : String)
Source
host
Source
host=(host : String)
Source
landing_enabled
Source
landing_enabled=(landing_enabled : Bool)
Source
master_key
Source
master_key=(master_key : String | Nil)
Source
port
Source
port=(port : Int32)
Source
rate_limiting
Source
rate_limiting=(rate_limiting : Bool)
Source
require_auth
Source
require_auth=(require_auth : Bool)
Source
start
Source
use_https
Source
use_https=(use_https : Bool)
Source