[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [SessionManager](../index.md) / [EngineSessionLinker](index.md) / [link](./link.md)

# link

`fun link(session: `[`Session`](../../-session/index.md)`, engineSession: `[`EngineSession`](../../../mozilla.components.concept.engine/-engine-session/index.md)`, parentEngineSession: `[`EngineSession`](../../../mozilla.components.concept.engine/-engine-session/index.md)`?): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/SessionManager.kt#L43)

Links the provided [Session](../../-session/index.md) and [EngineSession](../../../mozilla.components.concept.engine/-engine-session/index.md).

