Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
lepicekmichal committed Aug 16, 2024
2 parents ced3344 + 6bbb1f6 commit 2b1aeb0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions signalrkore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ kotlin {

if (OperatingSystem.current().isMacOsX) {
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class HttpHubConnectionBuilder(private val url: String) {
handshakeResponseTimeout,
headers.toMap(),
transportEnum,
null,
json,
logger,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import io.ktor.utils.io.core.*
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.IO
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.cancelChildren
import kotlinx.coroutines.delay
Expand Down Expand Up @@ -125,7 +126,7 @@ class HubConnection private constructor(
}

if (skipNegotiate && transportEnum != TransportEnum.WebSockets)
throw RuntimeException("Negotiation can only be skipped when using the WebSocket transport")
throw RuntimeException("Negotiation can only be skipped when using a WebSocket transport")

val (negotiationTransport, negotiationUrl) = if (!skipNegotiate) {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import io.ktor.http.HttpStatusCode
import io.ktor.http.contentLength
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.cancel
import kotlinx.coroutines.flow.Flow
Expand All @@ -21,6 +22,7 @@ import kotlinx.coroutines.flow.asSharedFlow
import kotlinx.coroutines.isActive
import kotlinx.coroutines.launch
import kotlinx.datetime.Clock
import kotlin.jvm.Volatile

internal class LongPollingTransport(private val headers: Map<String, String>, private val client: HttpClient) : Transport {

Expand Down

0 comments on commit 2b1aeb0

Please sign in to comment.