Session.Builder |
Session.Builder.addClientInfo(String name,
String version) |
Adds a client info to the list of client info objects for this builder
|
Session.Builder |
Session.Builder.addClientInfo(String name,
String version,
String comments) |
Adds a client info to the list of client info objects for this builder
|
Session.Builder |
Session.Builder.caCert(byte[] data) |
Sets the ca certificate for this builder
|
Session.Builder |
Session.Builder.heartbeatHandler(Session.HeartbeatHandler heartbeatHandler) |
Sets the heartbeat handler for this builder
|
Session.Builder |
Session.Builder.heartbeatInterval(Duration duration) |
Sets the heartbeat interval for this builder
|
Session.Builder |
Session.Builder.heartbeatTolerance(Duration duration) |
Sets the heartbeat tolerance for this builder
|
Session.Builder |
Session.Builder.metadata(String metadata) |
Sets the metadata for this builder
|
Session.Builder |
Session.Builder.restartCallback(Session.CommandHandler callback) |
Sets the restart callback handler for this builder
|
Session.Builder |
Session.Builder.serverAddr(String addr) |
Sets the server address for this builder
|
Session.Builder |
Session.Builder.stopCallback(Session.CommandHandler callback) |
Sets the stop callback handler for this builder
|
Session.Builder |
Session.Builder.updateCallback(Session.CommandHandler callback) |
Sets the update callback handler for this builder
|
static Session.Builder |
Session.withAuthtoken(String authtoken) |
|
static Session.Builder |
Session.withAuthtokenFromEnv() |
Creates a new session Session.Builder resolving
the ngrok authtoken from NGROK_AUTHTOKEN env variable
|