crew_class_tls | R Documentation |
R6
TLS class.R6
class for TLS configuration.
See crew_tls()
.
mode
See crew_tls()
.
key
See crew_tls()
.
password
See crew_tls()
.
certificates
See crew_tls()
.
new()
TLS configuration constructor.
crew_class_tls$new( mode = NULL, key = NULL, password = NULL, certificates = NULL )
mode
Argument passed from crew_tls()
.
key
Argument passed from crew_tls()
.
password
Argument passed from crew_tls()
.
certificates
Argument passed from crew_tls()
.
An R6
object with TLS configuration.
crew_tls(mode = "automatic")
validate()
Validate the object.
crew_class_tls$validate(test = TRUE)
test
Logical of length 1, whether to test the TLS configuration
with nanonext::tls_config()
.
NULL
(invisibly).
client()
TLS credentials for the crew
client.
crew_class_tls$client()
NULL
or character vector, depending on the mode.
worker()
TLS credentials for crew
workers.
crew_class_tls$worker(profile)
profile
Character of length 1 with the mirai
compute profile.
NULL
or character vector, depending on the mode.
url()
Form the URL for crew
worker connections.
crew_class_tls$url(host, port)
host
Character string with the host name or IP address.
port
Non-negative integer with the port number (0 to let NNG select a random ephemeral port).
Character string with the URL.
Other tls:
crew_tls()
crew_tls(mode = "automatic")
## ------------------------------------------------
## Method `crew_class_tls$new`
## ------------------------------------------------
crew_tls(mode = "automatic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.