diff options
Diffstat (limited to 'shared/src/iosMain/kotlin/mx')
-rw-r--r-- | shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/HttpClientProvider.kt | 4 | ||||
-rw-r--r-- | shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/utils/NSDataByteArray.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/HttpClientProvider.kt b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/HttpClientProvider.kt index e95e964..7f72392 100644 --- a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/HttpClientProvider.kt +++ b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/client/infrastructure/HttpClientProvider.kt @@ -18,11 +18,11 @@ package mx.trackermap.TrackerMap.client.infrastructure import io.ktor.client.* -import io.ktor.client.engine.ios.* +import io.ktor.client.engine.darwin.* actual class HttpClientProvider { actual fun getHttpClient(): HttpClient { - return HttpClient(Ios) { + return HttpClient(Darwin) { engine { configureSession { HTTPCookieStorage = null diff --git a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/utils/NSDataByteArray.kt b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/utils/NSDataByteArray.kt index 807c63f..9d23296 100644 --- a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/utils/NSDataByteArray.kt +++ b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/utils/NSDataByteArray.kt @@ -37,4 +37,4 @@ fun NSData.toByteArray(): ByteArray = ByteArray(this@toByteArray.length.toInt()) usePinned { memcpy(it.addressOf(0), this@toByteArray.bytes, this@toByteArray.length) } -}
\ No newline at end of file +} |