@FunctionalInterface public interface ConnectionFunction
endpoint applying ConnectionSettings.
A connection function is a low-level utility whose result is a valid Client object. Connection functions may perform multiple connection attempts (e.g. SSL handshake downgrading).
Topology discovery is a higher-level concept that is typically encapsulated as part of a ConnectionStrategy.
ConnectionStrategy| Modifier and Type | Method and Description |
|---|---|
Mono<io.r2dbc.postgresql.client.Client> |
connect(SocketAddress endpoint,
io.r2dbc.postgresql.client.ConnectionSettings settings)
Establish a connection to the given
endpoint applying ConnectionSettings. |
Mono<io.r2dbc.postgresql.client.Client> connect(SocketAddress endpoint, io.r2dbc.postgresql.client.ConnectionSettings settings)
endpoint applying ConnectionSettings.endpoint - the endpoint to connect tosettings - the settings to applyIllegalArgumentException - if socketAddress or settings is nullCopyright © 2023. All rights reserved.