Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Bon::Web::Options
Inherits
Reference
<
Object
Constructors
new
(host :
String
=
DEFAULT_HOST
, port :
Int32
=
DEFAULT_PORT
, token :
Nil
|
String
= nil.as(
String
| ::
Nil
), max_upload_bytes :
Int64
= (
DEFAULT_MAX_UPLOAD_MB
.to_i64 * 1024) * 1024, job_ttl_seconds :
Int32
= 3600)
Source
Instance methods
host
Source
host=
(host :
String
)
Source
job_ttl_seconds
Source
job_ttl_seconds=
(job_ttl_seconds :
Int32
)
Source
max_upload_bytes
Source
max_upload_bytes=
(max_upload_bytes :
Int64
)
Source
port
Source
port=
(port :
Int32
)
Source
token
Source
token=
(token :
String
|
Nil
)
Source
token_configured?
Source