open static fun create(connector: ClientHttpConnector): ExchangeFunction
Create a new ExchangeFunction with the given connector. This method uses default strategies.
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.
connector
- the connector to create connections
strategies
- the strategies to use
Return
the created function