Package com.ngrok
Interface Connection.Edge
-
- All Superinterfaces:
AutoCloseable,Connection
- Enclosing interface:
- Connection
public static interface Connection.Edge extends Connection
Represents a connection established over an edge listener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ngrok.Connection
Connection.Edge, Connection.Endpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEdgeType()Returns the edge type for this connection.booleanisPassthroughTls()Returns if this connection is passthrough TLS connection-
Methods inherited from interface com.ngrok.Connection
close, getRemoteAddr, inetAddress, read, write
-
-
-
-
Method Detail
-
getEdgeType
String getEdgeType()
Returns the edge type for this connection.- Returns:
- the edge type, for example
httpsortcp
-
isPassthroughTls
boolean isPassthroughTls()
Returns if this connection is passthrough TLS connection- Returns:
- true if passthrough TLS, false otherwise
-
-