createConnection

abstract var createConnection: (@R|kotlin/ParameterName|(name = String(authority)) ERROR CLASS: Symbol not found for web.url.URL, option: SessionOptions) -> Duplex?(source)

An optional callback that receives the URL instance passed to connect and the options object, and returns any Duplex stream that is to be used as the connection for this session.