spring-framework / org.springframework.web.reactive.function.client / ExchangeFunctions / create

create

open static fun create(connector: ClientHttpConnector): ExchangeFunction

Create a new ExchangeFunction with the given connector. This method uses default strategies.

Parameters

connector - the connector to create connections

Return
the created function

open static fun create(connector: ClientHttpConnector, strategies: ExchangeStrategies): ExchangeFunction

Create a new ExchangeFunction with the given connector and strategies.

Parameters

connector - the connector to create connections

strategies - the strategies to use

Return
the created function