Lucas Prioste
09/13/2024, 2:31 PMinstall(DefaultRequest) {
// Before making the request, get the session
val session = localPreferences.getSession()
// Modify the request to include the token in the headers
session?.let {
headers.append("Access-Token", it.token)
headers.append("Client", it.client)
headers.append("Uid", it.user.uid)
}
}
Austin Pederson
09/13/2024, 7:37 PMAustin Pederson
09/13/2024, 7:37 PMAleksei Tirman [JB]
09/16/2024, 8:26 AMrunBlocking
. Feel free to follow this feature request for updates.