Skip to content

Commit

Permalink
fixup! KTOR-6004 Support TCP and Unix socket for wasm-js and js via N…
Browse files Browse the repository at this point in the history
…odeJS (#4411)
  • Loading branch information
osipxd committed Jan 8, 2025
1 parent 4188d2a commit d76a6df
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/*
* Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.network.selector

import io.ktor.network.util.*

public actual interface Selectable

internal actual fun Any.supportsUnixDomainSockets(): Boolean = isAFUnixSupported
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.network.sockets.tests

internal actual fun Any.supportsUnixDomainSockets(): Boolean = false

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.network.sockets.tests

import io.ktor.network.util.*

internal actual fun Any.supportsUnixDomainSockets(): Boolean = true

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright 2014-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package io.ktor.network.sockets.tests

import io.ktor.network.util.*

internal actual fun Any.supportsUnixDomainSockets(): Boolean = isAFUnixSupported

0 comments on commit d76a6df

Please sign in to comment.