Package com.ngrok.services
Class TunnelSessions.GetCallBuilder
java.lang.Object
com.ngrok.services.TunnelSessions.GetCallBuilder
- Enclosing class:
- TunnelSessions
A builder object encapsulating state for an unsent Get API call.
-
Method Summary
Modifier and TypeMethodDescriptionInitiates the API call and blocks until it returns.call()
Initiates the API call asynchronously.
-
Method Details
-
call
Initiates the API call asynchronously.- Returns:
- a
CompletionStage
ofTunnelSession
-
blockingCall
Initiates the API call and blocks until it returns.- Returns:
TunnelSession
- Throws:
InterruptedException
- if the thread was interrupted during the call
-